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