Class IcebergNamespaceUpdate.Builder

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

public static final class IcebergNamespaceUpdate.Builder extends com.google.protobuf.GeneratedMessage.Builder<IcebergNamespaceUpdate.Builder> implements IcebergNamespaceUpdateOrBuilder
 The request message for the `UpdateIcebergNamespace` API.
 
Protobuf type google.cloud.biglake.v1.IcebergNamespaceUpdate
  • 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<IcebergNamespaceUpdate.Builder>
    • internalGetMutableMapFieldReflection

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<IcebergNamespaceUpdate.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<IcebergNamespaceUpdate.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<IcebergNamespaceUpdate.Builder>
    • getDefaultInstanceForType

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

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

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

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

    • isInitialized

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

      public IcebergNamespaceUpdate.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<IcebergNamespaceUpdate.Builder>
      Throws:
      IOException
    • getRemovalsList

      public com.google.protobuf.ProtocolStringList getRemovalsList()
       Optional. Keys of the properties to remove.
       
      repeated string removals = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRemovalsList in interface IcebergNamespaceUpdateOrBuilder
      Returns:
      A list containing the removals.
    • getRemovalsCount

      public int getRemovalsCount()
       Optional. Keys of the properties to remove.
       
      repeated string removals = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRemovalsCount in interface IcebergNamespaceUpdateOrBuilder
      Returns:
      The count of removals.
    • getRemovals

      public String getRemovals(int index)
       Optional. Keys of the properties to remove.
       
      repeated string removals = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRemovals in interface IcebergNamespaceUpdateOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The removals at the given index.
    • getRemovalsBytes

      public com.google.protobuf.ByteString getRemovalsBytes(int index)
       Optional. Keys of the properties to remove.
       
      repeated string removals = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRemovalsBytes in interface IcebergNamespaceUpdateOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the removals at the given index.
    • setRemovals

      public IcebergNamespaceUpdate.Builder setRemovals(int index, String value)
       Optional. Keys of the properties to remove.
       
      repeated string removals = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The removals to set.
      Returns:
      This builder for chaining.
    • addRemovals

      public IcebergNamespaceUpdate.Builder addRemovals(String value)
       Optional. Keys of the properties to remove.
       
      repeated string removals = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The removals to add.
      Returns:
      This builder for chaining.
    • addAllRemovals

      public IcebergNamespaceUpdate.Builder addAllRemovals(Iterable<String> values)
       Optional. Keys of the properties to remove.
       
      repeated string removals = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The removals to add.
      Returns:
      This builder for chaining.
    • clearRemovals

      public IcebergNamespaceUpdate.Builder clearRemovals()
       Optional. Keys of the properties to remove.
       
      repeated string removals = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • addRemovalsBytes

      public IcebergNamespaceUpdate.Builder addRemovalsBytes(com.google.protobuf.ByteString value)
       Optional. Keys of the properties to remove.
       
      repeated string removals = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes of the removals to add.
      Returns:
      This builder for chaining.
    • getUpdatesCount

      public int getUpdatesCount()
      Description copied from interface: IcebergNamespaceUpdateOrBuilder
       Optional. List of properties to update or add.
       
      map<string, string> updates = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdatesCount in interface IcebergNamespaceUpdateOrBuilder
    • containsUpdates

      public boolean containsUpdates(String key)
       Optional. List of properties to update or add.
       
      map<string, string> updates = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsUpdates in interface IcebergNamespaceUpdateOrBuilder
    • getUpdates

      @Deprecated public Map<String,String> getUpdates()
      Deprecated.
      Use getUpdatesMap() instead.
      Specified by:
      getUpdates in interface IcebergNamespaceUpdateOrBuilder
    • getUpdatesMap

      public Map<String,String> getUpdatesMap()
       Optional. List of properties to update or add.
       
      map<string, string> updates = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdatesMap in interface IcebergNamespaceUpdateOrBuilder
    • getUpdatesOrDefault

      public String getUpdatesOrDefault(String key, String defaultValue)
       Optional. List of properties to update or add.
       
      map<string, string> updates = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdatesOrDefault in interface IcebergNamespaceUpdateOrBuilder
    • getUpdatesOrThrow

      public String getUpdatesOrThrow(String key)
       Optional. List of properties to update or add.
       
      map<string, string> updates = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdatesOrThrow in interface IcebergNamespaceUpdateOrBuilder
    • clearUpdates

      public IcebergNamespaceUpdate.Builder clearUpdates()
    • removeUpdates

      public IcebergNamespaceUpdate.Builder removeUpdates(String key)
       Optional. List of properties to update or add.
       
      map<string, string> updates = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableUpdates

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

      public IcebergNamespaceUpdate.Builder putUpdates(String key, String value)
       Optional. List of properties to update or add.
       
      map<string, string> updates = 3 [(.google.api.field_behavior) = OPTIONAL];
    • putAllUpdates

      public IcebergNamespaceUpdate.Builder putAllUpdates(Map<String,String> values)
       Optional. List of properties to update or add.
       
      map<string, string> updates = 3 [(.google.api.field_behavior) = OPTIONAL];