Class TypeMeta (1.53.0)

public final class TypeMeta extends GeneratedMessageV3 implements TypeMetaOrBuilder

TypeMeta is the type information needed for content unmarshalling of Kubernetes resources in the manifest.

Protobuf type google.cloud.gkehub.v1beta1.TypeMeta

Implements

TypeMetaOrBuilder

Static Fields

API_VERSION_FIELD_NUMBER

public static final int API_VERSION_FIELD_NUMBER
Field Value
Type Description
int

KIND_FIELD_NUMBER

public static final int KIND_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TypeMeta getDefaultInstance()
Returns
Type Description
TypeMeta

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static TypeMeta.Builder newBuilder()
Returns
Type Description
TypeMeta.Builder

newBuilder(TypeMeta prototype)

public static TypeMeta.Builder newBuilder(TypeMeta prototype)
Parameter
Name Description
prototype TypeMeta
Returns
Type Description
TypeMeta.Builder

parseDelimitedFrom(InputStream input)

public static TypeMeta parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TypeMeta
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TypeMeta parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TypeMeta
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TypeMeta parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TypeMeta
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TypeMeta parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TypeMeta
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TypeMeta parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TypeMeta
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TypeMeta parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TypeMeta
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TypeMeta parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TypeMeta
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TypeMeta parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TypeMeta
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TypeMeta parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TypeMeta
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TypeMeta parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TypeMeta
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TypeMeta parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TypeMeta
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TypeMeta parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TypeMeta
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TypeMeta> parser()
Returns
Type Description
Parser<TypeMeta>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getApiVersion()

public String getApiVersion()

APIVersion of the resource (e.g. v1).

string api_version = 2;

Returns
Type Description
String

The apiVersion.

getApiVersionBytes()

public ByteString getApiVersionBytes()

APIVersion of the resource (e.g. v1).

string api_version = 2;

Returns
Type Description
ByteString

The bytes for apiVersion.

getDefaultInstanceForType()

public TypeMeta getDefaultInstanceForType()
Returns
Type Description
TypeMeta

getKind()

public String getKind()

Kind of the resource (e.g. Deployment).

string kind = 1;

Returns
Type Description
String

The kind.

getKindBytes()

public ByteString getKindBytes()

Kind of the resource (e.g. Deployment).

string kind = 1;

Returns
Type Description
ByteString

The bytes for kind.

getParserForType()

public Parser<TypeMeta> getParserForType()
Returns
Type Description
Parser<TypeMeta>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TypeMeta.Builder newBuilderForType()
Returns
Type Description
TypeMeta.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TypeMeta.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TypeMeta.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TypeMeta.Builder toBuilder()
Returns
Type Description
TypeMeta.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException