Class NamespacedNames.Builder (0.26.0)

public static final class NamespacedNames.Builder extends GeneratedMessageV3.Builder<NamespacedNames.Builder> implements NamespacedNamesOrBuilder

A list of namespaced Kubernetes resources.

Protobuf type google.cloud.gkebackup.v1.NamespacedNames

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllNamespacedNames(Iterable<? extends NamespacedName> values)

public NamespacedNames.Builder addAllNamespacedNames(Iterable<? extends NamespacedName> values)

A list of namespaced Kubernetes resources.

repeated .google.cloud.gkebackup.v1.NamespacedName namespaced_names = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.gkebackup.v1.NamespacedName>
Returns
TypeDescription
NamespacedNames.Builder

addNamespacedNames(NamespacedName value)

public NamespacedNames.Builder addNamespacedNames(NamespacedName value)

A list of namespaced Kubernetes resources.

repeated .google.cloud.gkebackup.v1.NamespacedName namespaced_names = 1;

Parameter
NameDescription
valueNamespacedName
Returns
TypeDescription
NamespacedNames.Builder

addNamespacedNames(NamespacedName.Builder builderForValue)

public NamespacedNames.Builder addNamespacedNames(NamespacedName.Builder builderForValue)

A list of namespaced Kubernetes resources.

repeated .google.cloud.gkebackup.v1.NamespacedName namespaced_names = 1;

Parameter
NameDescription
builderForValueNamespacedName.Builder
Returns
TypeDescription
NamespacedNames.Builder

addNamespacedNames(int index, NamespacedName value)

public NamespacedNames.Builder addNamespacedNames(int index, NamespacedName value)

A list of namespaced Kubernetes resources.

repeated .google.cloud.gkebackup.v1.NamespacedName namespaced_names = 1;

Parameters
NameDescription
indexint
valueNamespacedName
Returns
TypeDescription
NamespacedNames.Builder

addNamespacedNames(int index, NamespacedName.Builder builderForValue)

public NamespacedNames.Builder addNamespacedNames(int index, NamespacedName.Builder builderForValue)

A list of namespaced Kubernetes resources.

repeated .google.cloud.gkebackup.v1.NamespacedName namespaced_names = 1;

Parameters
NameDescription
indexint
builderForValueNamespacedName.Builder
Returns
TypeDescription
NamespacedNames.Builder

addNamespacedNamesBuilder()

public NamespacedName.Builder addNamespacedNamesBuilder()

A list of namespaced Kubernetes resources.

repeated .google.cloud.gkebackup.v1.NamespacedName namespaced_names = 1;

Returns
TypeDescription
NamespacedName.Builder

addNamespacedNamesBuilder(int index)

public NamespacedName.Builder addNamespacedNamesBuilder(int index)

A list of namespaced Kubernetes resources.

repeated .google.cloud.gkebackup.v1.NamespacedName namespaced_names = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NamespacedName.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NamespacedNames.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NamespacedNames.Builder
Overrides

build()

public NamespacedNames build()
Returns
TypeDescription
NamespacedNames

buildPartial()

public NamespacedNames buildPartial()
Returns
TypeDescription
NamespacedNames

clear()

public NamespacedNames.Builder clear()
Returns
TypeDescription
NamespacedNames.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public NamespacedNames.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
NamespacedNames.Builder
Overrides

clearNamespacedNames()

public NamespacedNames.Builder clearNamespacedNames()

A list of namespaced Kubernetes resources.

repeated .google.cloud.gkebackup.v1.NamespacedName namespaced_names = 1;

Returns
TypeDescription
NamespacedNames.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public NamespacedNames.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
NamespacedNames.Builder
Overrides

clone()

public NamespacedNames.Builder clone()
Returns
TypeDescription
NamespacedNames.Builder
Overrides

getDefaultInstanceForType()

public NamespacedNames getDefaultInstanceForType()
Returns
TypeDescription
NamespacedNames

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNamespacedNames(int index)

public NamespacedName getNamespacedNames(int index)

A list of namespaced Kubernetes resources.

repeated .google.cloud.gkebackup.v1.NamespacedName namespaced_names = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NamespacedName

getNamespacedNamesBuilder(int index)

public NamespacedName.Builder getNamespacedNamesBuilder(int index)

A list of namespaced Kubernetes resources.

repeated .google.cloud.gkebackup.v1.NamespacedName namespaced_names = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NamespacedName.Builder

getNamespacedNamesBuilderList()

public List<NamespacedName.Builder> getNamespacedNamesBuilderList()

A list of namespaced Kubernetes resources.

repeated .google.cloud.gkebackup.v1.NamespacedName namespaced_names = 1;

Returns
TypeDescription
List<Builder>

getNamespacedNamesCount()

public int getNamespacedNamesCount()

A list of namespaced Kubernetes resources.

repeated .google.cloud.gkebackup.v1.NamespacedName namespaced_names = 1;

Returns
TypeDescription
int

getNamespacedNamesList()

public List<NamespacedName> getNamespacedNamesList()

A list of namespaced Kubernetes resources.

repeated .google.cloud.gkebackup.v1.NamespacedName namespaced_names = 1;

Returns
TypeDescription
List<NamespacedName>

getNamespacedNamesOrBuilder(int index)

public NamespacedNameOrBuilder getNamespacedNamesOrBuilder(int index)

A list of namespaced Kubernetes resources.

repeated .google.cloud.gkebackup.v1.NamespacedName namespaced_names = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NamespacedNameOrBuilder

getNamespacedNamesOrBuilderList()

public List<? extends NamespacedNameOrBuilder> getNamespacedNamesOrBuilderList()

A list of namespaced Kubernetes resources.

repeated .google.cloud.gkebackup.v1.NamespacedName namespaced_names = 1;

Returns
TypeDescription
List<? extends com.google.cloud.gkebackup.v1.NamespacedNameOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NamespacedNames other)

public NamespacedNames.Builder mergeFrom(NamespacedNames other)
Parameter
NameDescription
otherNamespacedNames
Returns
TypeDescription
NamespacedNames.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NamespacedNames.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NamespacedNames.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public NamespacedNames.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
NamespacedNames.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NamespacedNames.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NamespacedNames.Builder
Overrides

removeNamespacedNames(int index)

public NamespacedNames.Builder removeNamespacedNames(int index)

A list of namespaced Kubernetes resources.

repeated .google.cloud.gkebackup.v1.NamespacedName namespaced_names = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NamespacedNames.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public NamespacedNames.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NamespacedNames.Builder
Overrides

setNamespacedNames(int index, NamespacedName value)

public NamespacedNames.Builder setNamespacedNames(int index, NamespacedName value)

A list of namespaced Kubernetes resources.

repeated .google.cloud.gkebackup.v1.NamespacedName namespaced_names = 1;

Parameters
NameDescription
indexint
valueNamespacedName
Returns
TypeDescription
NamespacedNames.Builder

setNamespacedNames(int index, NamespacedName.Builder builderForValue)

public NamespacedNames.Builder setNamespacedNames(int index, NamespacedName.Builder builderForValue)

A list of namespaced Kubernetes resources.

repeated .google.cloud.gkebackup.v1.NamespacedName namespaced_names = 1;

Parameters
NameDescription
indexint
builderForValueNamespacedName.Builder
Returns
TypeDescription
NamespacedNames.Builder

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

public NamespacedNames.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
NamespacedNames.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NamespacedNames.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NamespacedNames.Builder
Overrides