public static final class Namespaces.Builder extends GeneratedMessageV3.Builder<Namespaces.Builder> implements NamespacesOrBuilder
A list of Kubernetes Namespaces
Protobuf type google.cloud.gkebackup.v1.Namespaces
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addAllNamespaces(Iterable<String> values)
public Namespaces.Builder addAllNamespaces(Iterable<String> values)
A list of Kubernetes Namespaces
repeated string namespaces = 1;
Parameter
Returns
addNamespaces(String value)
public Namespaces.Builder addNamespaces(String value)
A list of Kubernetes Namespaces
repeated string namespaces = 1;
Parameter
Name | Description |
value | String
The namespaces to add.
|
Returns
addNamespacesBytes(ByteString value)
public Namespaces.Builder addNamespacesBytes(ByteString value)
A list of Kubernetes Namespaces
repeated string namespaces = 1;
Parameter
Name | Description |
value | ByteString
The bytes of the namespaces to add.
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Namespaces.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Namespaces build()
Returns
buildPartial()
public Namespaces buildPartial()
Returns
clear()
public Namespaces.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Namespaces.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNamespaces()
public Namespaces.Builder clearNamespaces()
A list of Kubernetes Namespaces
repeated string namespaces = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Namespaces.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public Namespaces.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Namespaces getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNamespaces(int index)
public String getNamespaces(int index)
A list of Kubernetes Namespaces
repeated string namespaces = 1;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The namespaces at the given index.
|
getNamespacesBytes(int index)
public ByteString getNamespacesBytes(int index)
A list of Kubernetes Namespaces
repeated string namespaces = 1;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the namespaces at the given index.
|
getNamespacesCount()
public int getNamespacesCount()
A list of Kubernetes Namespaces
repeated string namespaces = 1;
Returns
Type | Description |
int | The count of namespaces.
|
getNamespacesList()
public ProtocolStringList getNamespacesList()
A list of Kubernetes Namespaces
repeated string namespaces = 1;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Namespaces other)
public Namespaces.Builder mergeFrom(Namespaces other)
Parameter
Returns
public Namespaces.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Namespaces.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Namespaces.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Namespaces.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNamespaces(int index, String value)
public Namespaces.Builder setNamespaces(int index, String value)
A list of Kubernetes Namespaces
repeated string namespaces = 1;
Parameters
Name | Description |
index | int
The index to set the value at.
|
value | String
The namespaces to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Namespaces.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Namespaces.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides