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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • clear

      public Prefab.Identity.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Prefab.Identity.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Prefab.Identity.Builder>
    • getDefaultInstanceForType

      public Prefab.Identity getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Prefab.Identity build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Prefab.Identity buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public Prefab.Identity.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Prefab.Identity.Builder>
    • clearField

      public Prefab.Identity.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Prefab.Identity.Builder>
    • clearOneof

      public Prefab.Identity.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Prefab.Identity.Builder>
    • mergeFrom

      public Prefab.Identity.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Prefab.Identity.Builder>
    • mergeFrom

      public Prefab.Identity.Builder mergeFrom(Prefab.Identity other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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 interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Prefab.Identity.Builder>
      Throws:
      IOException
    • hasLookup

      public boolean hasLookup()
      optional string lookup = 1;
      Specified by:
      hasLookup in interface Prefab.IdentityOrBuilder
      Returns:
      Whether the lookup field is set.
    • getLookup

      public String getLookup()
      optional string lookup = 1;
      Specified by:
      getLookup in interface Prefab.IdentityOrBuilder
      Returns:
      The lookup.
    • getLookupBytes

      public com.google.protobuf.ByteString getLookupBytes()
      optional string lookup = 1;
      Specified by:
      getLookupBytes in interface Prefab.IdentityOrBuilder
      Returns:
      The bytes for lookup.
    • setLookup

      public Prefab.Identity.Builder setLookup(String value)
      optional string lookup = 1;
      Parameters:
      value - The lookup to set.
      Returns:
      This builder for chaining.
    • clearLookup

      public Prefab.Identity.Builder clearLookup()
      optional string lookup = 1;
      Returns:
      This builder for chaining.
    • setLookupBytes

      public Prefab.Identity.Builder setLookupBytes(com.google.protobuf.ByteString value)
      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 interface Prefab.IdentityOrBuilder
    • containsAttributes

      public boolean containsAttributes(String key)
      map<string, string> attributes = 2;
      Specified by:
      containsAttributes in interface Prefab.IdentityOrBuilder
    • getAttributes

      @Deprecated public Map<String,String> getAttributes()
      Deprecated.
      Use getAttributesMap() instead.
      Specified by:
      getAttributes in interface Prefab.IdentityOrBuilder
    • getAttributesMap

      public Map<String,String> getAttributesMap()
      map<string, string> attributes = 2;
      Specified by:
      getAttributesMap in interface Prefab.IdentityOrBuilder
    • getAttributesOrDefault

      public String getAttributesOrDefault(String key, String defaultValue)
      map<string, string> attributes = 2;
      Specified by:
      getAttributesOrDefault in interface Prefab.IdentityOrBuilder
    • getAttributesOrThrow

      public String getAttributesOrThrow(String key)
      map<string, string> attributes = 2;
      Specified by:
      getAttributesOrThrow in interface Prefab.IdentityOrBuilder
    • clearAttributes

      public Prefab.Identity.Builder clearAttributes()
    • removeAttributes

      public Prefab.Identity.Builder removeAttributes(String key)
      map<string, string> attributes = 2;
    • getMutableAttributes

      @Deprecated public Map<String,String> getMutableAttributes()
      Deprecated.
      Use alternate mutation accessors instead.
    • putAttributes

      public Prefab.Identity.Builder putAttributes(String key, String value)
      map<string, string> attributes = 2;
    • putAllAttributes

      public Prefab.Identity.Builder putAllAttributes(Map<String,String> values)
      map<string, string> attributes = 2;
    • setUnknownFields

      public final Prefab.Identity.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Prefab.Identity.Builder>
    • mergeUnknownFields

      public final Prefab.Identity.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Prefab.Identity.Builder>