Class IcebergNamespaceUpdate.Builder (0.62.0)

public static final class IcebergNamespaceUpdate.Builder extends GeneratedMessageV3.Builder<IcebergNamespaceUpdate.Builder> implements IcebergNamespaceUpdateOrBuilder

The request message for the UpdateIcebergNamespace API.

Protobuf type google.cloud.biglake.v1.IcebergNamespaceUpdate

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllRemovals(Iterable<String> values)

public IcebergNamespaceUpdate.Builder addAllRemovals(Iterable<String> values)

Optional. Keys of the properties to remove.

repeated string removals = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The removals to add.

Returns
Type Description
IcebergNamespaceUpdate.Builder

This builder for chaining.

addRemovals(String value)

public IcebergNamespaceUpdate.Builder addRemovals(String value)

Optional. Keys of the properties to remove.

repeated string removals = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The removals to add.

Returns
Type Description
IcebergNamespaceUpdate.Builder

This builder for chaining.

addRemovalsBytes(ByteString value)

public IcebergNamespaceUpdate.Builder addRemovalsBytes(ByteString value)

Optional. Keys of the properties to remove.

repeated string removals = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the removals to add.

Returns
Type Description
IcebergNamespaceUpdate.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IcebergNamespaceUpdate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IcebergNamespaceUpdate.Builder
Overrides

build()

public IcebergNamespaceUpdate build()
Returns
Type Description
IcebergNamespaceUpdate

buildPartial()

public IcebergNamespaceUpdate buildPartial()
Returns
Type Description
IcebergNamespaceUpdate

clear()

public IcebergNamespaceUpdate.Builder clear()
Returns
Type Description
IcebergNamespaceUpdate.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public IcebergNamespaceUpdate.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
IcebergNamespaceUpdate.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public IcebergNamespaceUpdate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
IcebergNamespaceUpdate.Builder
Overrides

clearRemovals()

public IcebergNamespaceUpdate.Builder clearRemovals()

Optional. Keys of the properties to remove.

repeated string removals = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IcebergNamespaceUpdate.Builder

This builder for chaining.

clearUpdates()

public IcebergNamespaceUpdate.Builder clearUpdates()
Returns
Type Description
IcebergNamespaceUpdate.Builder

clone()

public IcebergNamespaceUpdate.Builder clone()
Returns
Type Description
IcebergNamespaceUpdate.Builder
Overrides

containsUpdates(String key)

public boolean containsUpdates(String key)

Optional. List of properties to update or add.

map<string, string> updates = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getDefaultInstanceForType()

public IcebergNamespaceUpdate getDefaultInstanceForType()
Returns
Type Description
IcebergNamespaceUpdate

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMutableUpdates() (deprecated)

public Map<String,String> getMutableUpdates()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getRemovals(int index)

public String getRemovals(int index)

Optional. Keys of the properties to remove.

repeated string removals = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The removals at the given index.

getRemovalsBytes(int index)

public ByteString getRemovalsBytes(int index)

Optional. Keys of the properties to remove.

repeated string removals = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the removals at the given index.

getRemovalsCount()

public int getRemovalsCount()

Optional. Keys of the properties to remove.

repeated string removals = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of removals.

getRemovalsList()

public ProtocolStringList getRemovalsList()

Optional. Keys of the properties to remove.

repeated string removals = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the removals.

getUpdates() (deprecated)

public Map<String,String> getUpdates()

Use #getUpdatesMap() instead.

Returns
Type Description
Map<String,String>

getUpdatesCount()

public int getUpdatesCount()

Optional. List of properties to update or add.

map<string, string> updates = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getUpdatesMap()

public Map<String,String> getUpdatesMap()

Optional. List of properties to update or add.

map<string, string> updates = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getUpdatesOrDefault(String key, String defaultValue)

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];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getUpdatesOrThrow(String key)

public String getUpdatesOrThrow(String key)

Optional. List of properties to update or add.

map<string, string> updates = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(IcebergNamespaceUpdate other)

public IcebergNamespaceUpdate.Builder mergeFrom(IcebergNamespaceUpdate other)
Parameter
Name Description
other IcebergNamespaceUpdate
Returns
Type Description
IcebergNamespaceUpdate.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IcebergNamespaceUpdate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IcebergNamespaceUpdate.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public IcebergNamespaceUpdate.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
IcebergNamespaceUpdate.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IcebergNamespaceUpdate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IcebergNamespaceUpdate.Builder
Overrides

putAllUpdates(Map<String,String> values)

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];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
IcebergNamespaceUpdate.Builder

putUpdates(String key, String value)

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];

Parameters
Name Description
key String
value String
Returns
Type Description
IcebergNamespaceUpdate.Builder

removeUpdates(String key)

public IcebergNamespaceUpdate.Builder removeUpdates(String key)

Optional. List of properties to update or add.

map<string, string> updates = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
IcebergNamespaceUpdate.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public IcebergNamespaceUpdate.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IcebergNamespaceUpdate.Builder
Overrides

setRemovals(int index, String value)

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
Name Description
index int

The index to set the value at.

value String

The removals to set.

Returns
Type Description
IcebergNamespaceUpdate.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public IcebergNamespaceUpdate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
IcebergNamespaceUpdate.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final IcebergNamespaceUpdate.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IcebergNamespaceUpdate.Builder
Overrides