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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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.
|
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.
|
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.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IcebergNamespace.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public IcebergNamespace build()
buildPartial()
public IcebergNamespace buildPartial()
clear()
public IcebergNamespace.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public IcebergNamespace.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNamespace()
public IcebergNamespace.Builder clearNamespace()
Required. The name of the namespace.
repeated string namespace = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public IcebergNamespace.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearProperties()
public IcebergNamespace.Builder clearProperties()
clone()
public IcebergNamespace.Builder clone()
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
|
getDefaultInstanceForType()
public IcebergNamespace getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMutableProperties() (deprecated)
public Map<String,String> getMutableProperties()
Use alternate mutation accessors instead.
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];
getProperties() (deprecated)
public Map<String,String> getProperties()
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];
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];
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()
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()
Overrides
mergeFrom(IcebergNamespace other)
public IcebergNamespace.Builder mergeFrom(IcebergNamespace other)
public IcebergNamespace.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public IcebergNamespace.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IcebergNamespace.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public IcebergNamespace.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IcebergNamespace.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final IcebergNamespace.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides