public static final class IcebergNamespace.Builder extends GeneratedMessage.Builder<IcebergNamespace.Builder> implements IcebergNamespaceOrBuilderThe namespace object to create.
Protobuf type google.cloud.biglake.v1.IcebergNamespace
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > IcebergNamespace.BuilderImplements
IcebergNamespaceOrBuilderStatic 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 |
StringThe 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 |
ByteStringThe bytes of the namespace to add. |
| Returns | |
|---|---|
| Type | Description |
IcebergNamespace.Builder |
This builder for chaining. |
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 |
|
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. |
clearProperties()
public IcebergNamespace.Builder clearProperties()| Returns | |
|---|---|
| Type | Description |
IcebergNamespace.Builder |
|
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 |
|
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 |
intThe 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 |
intThe 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 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(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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public IcebergNamespace.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
IcebergNamespace.Builder |
|
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 |
|
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 |
intThe index to set the value at. |
value |
StringThe namespace to set. |
| Returns | |
|---|---|
| Type | Description |
IcebergNamespace.Builder |
This builder for chaining. |