public static final class IcebergNamespaceUpdate.Builder extends GeneratedMessage.Builder<IcebergNamespaceUpdate.Builder> implements IcebergNamespaceUpdateOrBuilder The request message for the UpdateIcebergNamespace API.
Protobuf type google.cloud.biglake.v1.IcebergNamespaceUpdate
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > IcebergNamespaceUpdate.BuilderImplements
IcebergNamespaceUpdateOrBuilderStatic 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 |
StringThe 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 |
ByteStringThe bytes of the removals to add. |
| Returns | |
|---|---|
| Type | Description |
IcebergNamespaceUpdate.Builder |
This builder for chaining. |
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 |
|
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 |
|
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 |
|
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 |
intThe 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 |
intThe 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public IcebergNamespaceUpdate.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
IcebergNamespaceUpdate.Builder |
|
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 |
|
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 |
intThe index to set the value at. |
value |
StringThe removals to set. |
| Returns | |
|---|---|
| Type | Description |
IcebergNamespaceUpdate.Builder |
This builder for chaining. |