Class IcebergNamespaceUpdate (0.62.0)

public final class IcebergNamespaceUpdate extends GeneratedMessageV3 implements IcebergNamespaceUpdateOrBuilder

The request message for the UpdateIcebergNamespace API.

Protobuf type google.cloud.biglake.v1.IcebergNamespaceUpdate

Static Fields

REMOVALS_FIELD_NUMBER

public static final int REMOVALS_FIELD_NUMBER
Field Value
Type Description
int

UPDATES_FIELD_NUMBER

public static final int UPDATES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static IcebergNamespaceUpdate getDefaultInstance()
Returns
Type Description
IcebergNamespaceUpdate

getDescriptor()

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

newBuilder()

public static IcebergNamespaceUpdate.Builder newBuilder()
Returns
Type Description
IcebergNamespaceUpdate.Builder

newBuilder(IcebergNamespaceUpdate prototype)

public static IcebergNamespaceUpdate.Builder newBuilder(IcebergNamespaceUpdate prototype)
Parameter
Name Description
prototype IcebergNamespaceUpdate
Returns
Type Description
IcebergNamespaceUpdate.Builder

parseDelimitedFrom(InputStream input)

public static IcebergNamespaceUpdate parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IcebergNamespaceUpdate
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IcebergNamespaceUpdate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IcebergNamespaceUpdate
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static IcebergNamespaceUpdate parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
IcebergNamespaceUpdate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IcebergNamespaceUpdate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IcebergNamespaceUpdate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IcebergNamespaceUpdate parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
IcebergNamespaceUpdate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IcebergNamespaceUpdate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IcebergNamespaceUpdate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IcebergNamespaceUpdate parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
IcebergNamespaceUpdate
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IcebergNamespaceUpdate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IcebergNamespaceUpdate
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static IcebergNamespaceUpdate parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IcebergNamespaceUpdate
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IcebergNamespaceUpdate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IcebergNamespaceUpdate
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static IcebergNamespaceUpdate parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
IcebergNamespaceUpdate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IcebergNamespaceUpdate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IcebergNamespaceUpdate
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<IcebergNamespaceUpdate> parser()
Returns
Type Description
Parser<IcebergNamespaceUpdate>

Methods

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

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public IcebergNamespaceUpdate getDefaultInstanceForType()
Returns
Type Description
IcebergNamespaceUpdate

getParserForType()

public Parser<IcebergNamespaceUpdate> getParserForType()
Returns
Type Description
Parser<IcebergNamespaceUpdate>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

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.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected IcebergNamespaceUpdate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
IcebergNamespaceUpdate.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException