Class NamespacedNames (0.17.0)

public final class NamespacedNames extends GeneratedMessageV3 implements NamespacedNamesOrBuilder

A list of namespaced Kubernetes resources.

Protobuf type google.cloud.gkebackup.v1.NamespacedNames

Static Fields

NAMESPACED_NAMES_FIELD_NUMBER

public static final int NAMESPACED_NAMES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NamespacedNames getDefaultInstance()
Returns
TypeDescription
NamespacedNames

getDescriptor()

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

newBuilder()

public static NamespacedNames.Builder newBuilder()
Returns
TypeDescription
NamespacedNames.Builder

newBuilder(NamespacedNames prototype)

public static NamespacedNames.Builder newBuilder(NamespacedNames prototype)
Parameter
NameDescription
prototypeNamespacedNames
Returns
TypeDescription
NamespacedNames.Builder

parseDelimitedFrom(InputStream input)

public static NamespacedNames parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NamespacedNames
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NamespacedNames parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NamespacedNames
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static NamespacedNames parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
NamespacedNames
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NamespacedNames parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NamespacedNames
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NamespacedNames parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
NamespacedNames
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NamespacedNames parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NamespacedNames
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NamespacedNames parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
NamespacedNames
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NamespacedNames parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NamespacedNames
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static NamespacedNames parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NamespacedNames
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NamespacedNames parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NamespacedNames
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static NamespacedNames parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
NamespacedNames
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NamespacedNames parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NamespacedNames
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<NamespacedNames> parser()
Returns
TypeDescription
Parser<NamespacedNames>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public NamespacedNames getDefaultInstanceForType()
Returns
TypeDescription
NamespacedNames

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

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>

getParserForType()

public Parser<NamespacedNames> getParserForType()
Returns
TypeDescription
Parser<NamespacedNames>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public NamespacedNames.Builder newBuilderForType()
Returns
TypeDescription
NamespacedNames.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NamespacedNames.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
NamespacedNames.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public NamespacedNames.Builder toBuilder()
Returns
TypeDescription
NamespacedNames.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException