Class TypeMeta (1.2.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.v1alpha2.TypeMeta

Implements

TypeMetaOrBuilder

Static Fields

API_VERSION_FIELD_NUMBER

public static final int API_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

KIND_FIELD_NUMBER

public static final int KIND_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TypeMeta getDefaultInstance()
Returns
TypeDescription
TypeMeta

getDescriptor()

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

newBuilder()

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

newBuilder(TypeMeta prototype)

public static TypeMeta.Builder newBuilder(TypeMeta prototype)
Parameter
NameDescription
prototypeTypeMeta
Returns
TypeDescription
TypeMeta.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getApiVersion()

public String getApiVersion()

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

string api_version = 2;

Returns
TypeDescription
String

The apiVersion.

getApiVersionBytes()

public ByteString getApiVersionBytes()

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

string api_version = 2;

Returns
TypeDescription
ByteString

The bytes for apiVersion.

getDefaultInstanceForType()

public TypeMeta getDefaultInstanceForType()
Returns
TypeDescription
TypeMeta

getKind()

public String getKind()

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

string kind = 1;

Returns
TypeDescription
String

The kind.

getKindBytes()

public ByteString getKindBytes()

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

string kind = 1;

Returns
TypeDescription
ByteString

The bytes for kind.

getParserForType()

public Parser<TypeMeta> getParserForType()
Returns
TypeDescription
Parser<TypeMeta>
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 TypeMeta.Builder newBuilderForType()
Returns
TypeDescription
TypeMeta.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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