Send feedback
Class Namespaces.Builder (0.19.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.19.0 keyboard_arrow_down
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 ()
Methods
addAllNamespaces(Iterable<String> values)
public Namespaces . Builder addAllNamespaces ( Iterable<String> values )
A list of Kubernetes Namespaces
repeated string namespaces = 1;
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.
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.
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Namespaces . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public Namespaces build ()
buildPartial()
public Namespaces buildPartial ()
clear()
public Namespaces . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Namespaces . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearNamespaces()
public Namespaces . Builder clearNamespaces ()
A list of Kubernetes Namespaces
repeated string namespaces = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public Namespaces . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public Namespaces . Builder clone ()
Overrides
getDefaultInstanceForType()
public Namespaces getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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;
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(Namespaces other)
public Namespaces . Builder mergeFrom ( Namespaces other )
public Namespaces . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public Namespaces . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Namespaces . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Namespaces . Builder setField ( Descriptors . FieldDescriptor field , Object value )
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.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Namespaces . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Namespaces . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]