Class IcebergNamespace.Builder (0.62.0)

public static final class IcebergNamespace.Builder extends GeneratedMessageV3.Builder<IcebergNamespace.Builder> implements IcebergNamespaceOrBuilder

The namespace object to create.

Protobuf type google.cloud.biglake.v1.IcebergNamespace

Static Methods

getDescriptor()

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

Methods

addAllNamespace(Iterable<String> values)

public IcebergNamespace.Builder addAllNamespace(Iterable<String> values)

Required. The name of the namespace.

repeated string namespace = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<String>

The namespace to add.

Returns
Type Description
IcebergNamespace.Builder

This builder for chaining.

addNamespace(String value)

public IcebergNamespace.Builder addNamespace(String value)

Required. The name of the namespace.

repeated string namespace = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The namespace to add.

Returns
Type Description
IcebergNamespace.Builder

This builder for chaining.

addNamespaceBytes(ByteString value)

public IcebergNamespace.Builder addNamespaceBytes(ByteString value)

Required. The name of the namespace.

repeated string namespace = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes of the namespace to add.

Returns
Type Description
IcebergNamespace.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IcebergNamespace build()
Returns
Type Description
IcebergNamespace

buildPartial()

public IcebergNamespace buildPartial()
Returns
Type Description
IcebergNamespace

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNamespace()

public IcebergNamespace.Builder clearNamespace()

Required. The name of the namespace.

repeated string namespace = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IcebergNamespace.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProperties()

public IcebergNamespace.Builder clearProperties()
Returns
Type Description
IcebergNamespace.Builder

clone()

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

containsProperties(String key)

public boolean containsProperties(String key)

Optional. The optional properties of the namespace.

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

Parameter
Name Description
key String
Returns
Type Description
boolean

getDefaultInstanceForType()

public IcebergNamespace getDefaultInstanceForType()
Returns
Type Description
IcebergNamespace

getDescriptorForType()

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

getMutableProperties() (deprecated)

public Map<String,String> getMutableProperties()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getNamespace(int index)

public String getNamespace(int index)

Required. The name of the namespace.

repeated string namespace = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The namespace at the given index.

getNamespaceBytes(int index)

public ByteString getNamespaceBytes(int index)

Required. The name of the namespace.

repeated string namespace = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the namespace at the given index.

getNamespaceCount()

public int getNamespaceCount()

Required. The name of the namespace.

repeated string namespace = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of namespace.

getNamespaceList()

public ProtocolStringList getNamespaceList()

Required. The name of the namespace.

repeated string namespace = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProtocolStringList

A list containing the namespace.

getProperties() (deprecated)

public Map<String,String> getProperties()

Use #getPropertiesMap() instead.

Returns
Type Description
Map<String,String>

getPropertiesCount()

public int getPropertiesCount()

Optional. The optional properties of the namespace.

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

Returns
Type Description
int

getPropertiesMap()

public Map<String,String> getPropertiesMap()

Optional. The optional properties of the namespace.

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

Returns
Type Description
Map<String,String>

getPropertiesOrDefault(String key, String defaultValue)

public String getPropertiesOrDefault(String key, String defaultValue)

Optional. The optional properties of the namespace.

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

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getPropertiesOrThrow(String key)

public String getPropertiesOrThrow(String key)

Optional. The optional properties of the namespace.

map<string, string> properties = 2 [(.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(IcebergNamespace other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

putAllProperties(Map<String,String> values)

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

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

putProperties(String key, String value)

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

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

removeProperties(String key)

public IcebergNamespace.Builder removeProperties(String key)

Optional. The optional properties of the namespace.

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

Parameter
Name Description
key String
Returns
Type Description
IcebergNamespace.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNamespace(int index, String value)

public IcebergNamespace.Builder setNamespace(int index, String value)

Required. The name of the namespace.

repeated string namespace = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int

The index to set the value at.

value String

The namespace to set.

Returns
Type Description
IcebergNamespace.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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