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
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
Name | Description |
values | Iterable<? extends com.google.cloud.gkebackup.v1.NamespacedName>
|
Returns
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
Returns
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
Returns
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
Returns
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
Returns
addNamespacedNamesBuilder()
public NamespacedName.Builder addNamespacedNamesBuilder()
A list of namespaced Kubernetes resources.
repeated .google.cloud.gkebackup.v1.NamespacedName namespaced_names = 1;
Returns
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NamespacedNames.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public NamespacedNames build()
Returns
buildPartial()
public NamespacedNames buildPartial()
Returns
clear()
public NamespacedNames.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public NamespacedNames.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNamespacedNames()
public NamespacedNames.Builder clearNamespacedNames()
A list of namespaced Kubernetes resources.
repeated .google.cloud.gkebackup.v1.NamespacedName namespaced_names = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public NamespacedNames.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public NamespacedNames.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public NamespacedNames getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
getNamespacedNamesBuilderList()
public List<NamespacedName.Builder> getNamespacedNamesBuilderList()
A list of namespaced Kubernetes resources.
repeated .google.cloud.gkebackup.v1.NamespacedName namespaced_names = 1;
Returns
getNamespacedNamesCount()
public int getNamespacedNamesCount()
A list of namespaced Kubernetes resources.
repeated .google.cloud.gkebackup.v1.NamespacedName namespaced_names = 1;
Returns
getNamespacedNamesList()
public List<NamespacedName> getNamespacedNamesList()
A list of namespaced Kubernetes resources.
repeated .google.cloud.gkebackup.v1.NamespacedName namespaced_names = 1;
Returns
getNamespacedNamesOrBuilder(int index)
public NamespacedNameOrBuilder getNamespacedNamesOrBuilder(int index)
A list of namespaced Kubernetes resources.
repeated .google.cloud.gkebackup.v1.NamespacedName namespaced_names = 1;
Parameter
Returns
getNamespacedNamesOrBuilderList()
public List<? extends NamespacedNameOrBuilder> getNamespacedNamesOrBuilderList()
A list of namespaced Kubernetes resources.
repeated .google.cloud.gkebackup.v1.NamespacedName namespaced_names = 1;
Returns
Type | Description |
List<? extends com.google.cloud.gkebackup.v1.NamespacedNameOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(NamespacedNames other)
public NamespacedNames.Builder mergeFrom(NamespacedNames other)
Parameter
Returns
public NamespacedNames.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public NamespacedNames.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NamespacedNames.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public NamespacedNames.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NamespacedNames.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NamespacedNames.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides