public static final class NamespacedName.Builder extends GeneratedMessageV3.Builder<NamespacedName.Builder> implements NamespacedNameOrBuilder
A reference to a namespaced resource in Kubernetes.
Protobuf type google.events.cloud.gkebackup.v1.NamespacedName
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NamespacedName.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public NamespacedName build()
buildPartial()
public NamespacedName buildPartial()
clear()
public NamespacedName.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public NamespacedName.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public NamespacedName.Builder clearName()
The name of the Kubernetes resource.
string name = 2;
clearNamespace()
public NamespacedName.Builder clearNamespace()
The Namespace of the Kubernetes resource.
string namespace = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public NamespacedName.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public NamespacedName.Builder clone()
Overrides
getDefaultInstanceForType()
public NamespacedName getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getName()
The name of the Kubernetes resource.
string name = 2;
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
The name of the Kubernetes resource.
string name = 2;
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getNamespace()
public String getNamespace()
The Namespace of the Kubernetes resource.
string namespace = 1;
Returns |
Type |
Description |
String |
The namespace.
|
getNamespaceBytes()
public ByteString getNamespaceBytes()
The Namespace of the Kubernetes resource.
string namespace = 1;
Returns |
Type |
Description |
ByteString |
The bytes for namespace.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(NamespacedName other)
public NamespacedName.Builder mergeFrom(NamespacedName other)
public NamespacedName.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public NamespacedName.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NamespacedName.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public NamespacedName.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setName(String value)
public NamespacedName.Builder setName(String value)
The name of the Kubernetes resource.
string name = 2;
Parameter |
Name |
Description |
value |
String
The name to set.
|
setNameBytes(ByteString value)
public NamespacedName.Builder setNameBytes(ByteString value)
The name of the Kubernetes resource.
string name = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for name to set.
|
setNamespace(String value)
public NamespacedName.Builder setNamespace(String value)
The Namespace of the Kubernetes resource.
string namespace = 1;
Parameter |
Name |
Description |
value |
String
The namespace to set.
|
setNamespaceBytes(ByteString value)
public NamespacedName.Builder setNamespaceBytes(ByteString value)
The Namespace of the Kubernetes resource.
string namespace = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for namespace to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NamespacedName.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NamespacedName.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides