Class IcebergNamespace.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<IcebergNamespace.Builder>
com.google.cloud.biglake.v1.IcebergNamespace.Builder
All Implemented Interfaces:
IcebergNamespaceOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
IcebergNamespace

public static final class IcebergNamespace.Builder extends com.google.protobuf.GeneratedMessage.Builder<IcebergNamespace.Builder> implements IcebergNamespaceOrBuilder
 The namespace object to create.
 
Protobuf type google.cloud.biglake.v1.IcebergNamespace
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<IcebergNamespace.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<IcebergNamespace.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<IcebergNamespace.Builder>
    • clear

      public IcebergNamespace.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.GeneratedMessage.Builder<IcebergNamespace.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.GeneratedMessage.Builder<IcebergNamespace.Builder>
    • getDefaultInstanceForType

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

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

      public IcebergNamespace buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public IcebergNamespace.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<IcebergNamespace.Builder>
    • mergeFrom

      public IcebergNamespace.Builder mergeFrom(IcebergNamespace other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<IcebergNamespace.Builder>
    • mergeFrom

      public IcebergNamespace.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<IcebergNamespace.Builder>
      Throws:
      IOException
    • getNamespaceList

      public com.google.protobuf.ProtocolStringList getNamespaceList()
       Required. The name of the namespace.
       
      repeated string namespace = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNamespaceList in interface IcebergNamespaceOrBuilder
      Returns:
      A list containing the namespace.
    • getNamespaceCount

      public int getNamespaceCount()
       Required. The name of the namespace.
       
      repeated string namespace = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNamespaceCount in interface IcebergNamespaceOrBuilder
      Returns:
      The count of namespace.
    • getNamespace

      public String getNamespace(int index)
       Required. The name of the namespace.
       
      repeated string namespace = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNamespace in interface IcebergNamespaceOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The namespace at the given index.
    • getNamespaceBytes

      public com.google.protobuf.ByteString getNamespaceBytes(int index)
       Required. The name of the namespace.
       
      repeated string namespace = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNamespaceBytes in interface IcebergNamespaceOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the namespace at the given index.
    • setNamespace

      public IcebergNamespace.Builder setNamespace(int index, String value)
       Required. The name of the namespace.
       
      repeated string namespace = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      index - The index to set the value at.
      value - The namespace to set.
      Returns:
      This builder for chaining.
    • addNamespace

      public IcebergNamespace.Builder addNamespace(String value)
       Required. The name of the namespace.
       
      repeated string namespace = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The namespace to add.
      Returns:
      This builder for chaining.
    • addAllNamespace

      public IcebergNamespace.Builder addAllNamespace(Iterable<String> values)
       Required. The name of the namespace.
       
      repeated string namespace = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      values - The namespace to add.
      Returns:
      This builder for chaining.
    • clearNamespace

      public IcebergNamespace.Builder clearNamespace()
       Required. The name of the namespace.
       
      repeated string namespace = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • addNamespaceBytes

      public IcebergNamespace.Builder addNamespaceBytes(com.google.protobuf.ByteString value)
       Required. The name of the namespace.
       
      repeated string namespace = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes of the namespace to add.
      Returns:
      This builder for chaining.
    • getPropertiesCount

      public int getPropertiesCount()
      Description copied from interface: IcebergNamespaceOrBuilder
       Optional. The optional properties of the namespace.
       
      map<string, string> properties = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPropertiesCount in interface IcebergNamespaceOrBuilder
    • containsProperties

      public boolean containsProperties(String key)
       Optional. The optional properties of the namespace.
       
      map<string, string> properties = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsProperties in interface IcebergNamespaceOrBuilder
    • getProperties

      @Deprecated public Map<String,String> getProperties()
      Deprecated.
      Use getPropertiesMap() instead.
      Specified by:
      getProperties in interface IcebergNamespaceOrBuilder
    • getPropertiesMap

      public Map<String,String> getPropertiesMap()
       Optional. The optional properties of the namespace.
       
      map<string, string> properties = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPropertiesMap in interface IcebergNamespaceOrBuilder
    • getPropertiesOrDefault

      public String getPropertiesOrDefault(String key, String defaultValue)
       Optional. The optional properties of the namespace.
       
      map<string, string> properties = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPropertiesOrDefault in interface IcebergNamespaceOrBuilder
    • getPropertiesOrThrow

      public String getPropertiesOrThrow(String key)
       Optional. The optional properties of the namespace.
       
      map<string, string> properties = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPropertiesOrThrow in interface IcebergNamespaceOrBuilder
    • clearProperties

      public IcebergNamespace.Builder clearProperties()
    • removeProperties

      public IcebergNamespace.Builder removeProperties(String key)
       Optional. The optional properties of the namespace.
       
      map<string, string> properties = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableProperties

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

      public IcebergNamespace.Builder putProperties(String key, String value)
       Optional. The optional properties of the namespace.
       
      map<string, string> properties = 2 [(.google.api.field_behavior) = OPTIONAL];
    • putAllProperties

      public IcebergNamespace.Builder putAllProperties(Map<String,String> values)
       Optional. The optional properties of the namespace.
       
      map<string, string> properties = 2 [(.google.api.field_behavior) = OPTIONAL];