Package cloud.prefab.domain
Class Prefab.Identity.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Prefab.Identity.Builder>
cloud.prefab.domain.Prefab.Identity.Builder
- All Implemented Interfaces:
Prefab.IdentityOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
Prefab.Identity
public static final class Prefab.Identity.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Prefab.Identity.Builder>
implements Prefab.IdentityOrBuilder
Protobuf type
prefab.Identity
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) optional string lookup = 1;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()
boolean
containsAttributes
(String key) map<string, string> attributes = 2;
Deprecated.int
map<string, string> attributes = 2;
map<string, string> attributes = 2;
getAttributesOrDefault
(String key, String defaultValue) map<string, string> attributes = 2;
map<string, string> attributes = 2;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
optional string lookup = 1;
com.google.protobuf.ByteString
optional string lookup = 1;
Deprecated.boolean
optional string lookup = 1;
final boolean
mergeFrom
(Prefab.Identity other) mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) final Prefab.Identity.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) putAllAttributes
(Map<String, String> values) map<string, string> attributes = 2;
putAttributes
(String key, String value) map<string, string> attributes = 2;
removeAttributes
(String key) map<string, string> attributes = 2;
optional string lookup = 1;
setLookupBytes
(com.google.protobuf.ByteString value) optional string lookup = 1;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final Prefab.Identity.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Prefab.Identity.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Prefab.Identity.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Prefab.Identity.Builder>
-
setField
public Prefab.Identity.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Prefab.Identity.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Prefab.Identity.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Prefab.Identity.Builder>
-
setRepeatedField
public Prefab.Identity.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Prefab.Identity.Builder>
-
addRepeatedField
public Prefab.Identity.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Prefab.Identity.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Prefab.Identity.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Prefab.Identity.Builder>
-
mergeFrom
public Prefab.Identity.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Prefab.Identity.Builder>
- Throws:
IOException
-
hasLookup
public boolean hasLookup()optional string lookup = 1;
- Specified by:
hasLookup
in interfacePrefab.IdentityOrBuilder
- Returns:
- Whether the lookup field is set.
-
getLookup
optional string lookup = 1;
- Specified by:
getLookup
in interfacePrefab.IdentityOrBuilder
- Returns:
- The lookup.
-
getLookupBytes
public com.google.protobuf.ByteString getLookupBytes()optional string lookup = 1;
- Specified by:
getLookupBytes
in interfacePrefab.IdentityOrBuilder
- Returns:
- The bytes for lookup.
-
setLookup
optional string lookup = 1;
- Parameters:
value
- The lookup to set.- Returns:
- This builder for chaining.
-
clearLookup
optional string lookup = 1;
- Returns:
- This builder for chaining.
-
setLookupBytes
optional string lookup = 1;
- Parameters:
value
- The bytes for lookup to set.- Returns:
- This builder for chaining.
-
getAttributesCount
public int getAttributesCount()Description copied from interface:Prefab.IdentityOrBuilder
map<string, string> attributes = 2;
- Specified by:
getAttributesCount
in interfacePrefab.IdentityOrBuilder
-
containsAttributes
map<string, string> attributes = 2;
- Specified by:
containsAttributes
in interfacePrefab.IdentityOrBuilder
-
getAttributes
Deprecated.UsegetAttributesMap()
instead.- Specified by:
getAttributes
in interfacePrefab.IdentityOrBuilder
-
getAttributesMap
map<string, string> attributes = 2;
- Specified by:
getAttributesMap
in interfacePrefab.IdentityOrBuilder
-
getAttributesOrDefault
map<string, string> attributes = 2;
- Specified by:
getAttributesOrDefault
in interfacePrefab.IdentityOrBuilder
-
getAttributesOrThrow
map<string, string> attributes = 2;
- Specified by:
getAttributesOrThrow
in interfacePrefab.IdentityOrBuilder
-
clearAttributes
-
removeAttributes
map<string, string> attributes = 2;
-
getMutableAttributes
Deprecated.Use alternate mutation accessors instead. -
putAttributes
map<string, string> attributes = 2;
-
putAllAttributes
map<string, string> attributes = 2;
-
setUnknownFields
public final Prefab.Identity.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Prefab.Identity.Builder>
-
mergeUnknownFields
public final Prefab.Identity.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Prefab.Identity.Builder>
-