Class Namespaces (0.36.0)

public final class Namespaces extends GeneratedMessageV3 implements NamespacesOrBuilder

A list of Kubernetes Namespaces

Protobuf type google.cloud.gkebackup.v1.Namespaces

Implements

NamespacesOrBuilder

Static Fields

NAMESPACES_FIELD_NUMBER

public static final int NAMESPACES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Namespaces getDefaultInstance()
Returns
TypeDescription
Namespaces

getDescriptor()

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

newBuilder()

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

newBuilder(Namespaces prototype)

public static Namespaces.Builder newBuilder(Namespaces prototype)
Parameter
NameDescription
prototypeNamespaces
Returns
TypeDescription
Namespaces.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Namespaces getDefaultInstanceForType()
Returns
TypeDescription
Namespaces

getNamespaces(int index)

public String getNamespaces(int index)

A list of Kubernetes Namespaces

repeated string namespaces = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The namespaces at the given index.

getNamespacesBytes(int index)

public ByteString getNamespacesBytes(int index)

A list of Kubernetes Namespaces

repeated string namespaces = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the namespaces at the given index.

getNamespacesCount()

public int getNamespacesCount()

A list of Kubernetes Namespaces

repeated string namespaces = 1;

Returns
TypeDescription
int

The count of namespaces.

getNamespacesList()

public ProtocolStringList getNamespacesList()

A list of Kubernetes Namespaces

repeated string namespaces = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the namespaces.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 Namespaces.Builder newBuilderForType()
Returns
TypeDescription
Namespaces.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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