public final class GroupVersionKind extends GeneratedMessageV3 implements GroupVersionKindOrBuilder
A Kubernetes object's GVK
Protobuf type google.cloud.gkehub.configmanagement.v1.GroupVersionKind
Static Fields
GROUP_FIELD_NUMBER
public static final int GROUP_FIELD_NUMBER
Field Value
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
Field Value
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static GroupVersionKind getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static GroupVersionKind.Builder newBuilder()
Returns
newBuilder(GroupVersionKind prototype)
public static GroupVersionKind.Builder newBuilder(GroupVersionKind prototype)
Parameter
Returns
public static GroupVersionKind parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static GroupVersionKind parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static GroupVersionKind parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GroupVersionKind parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static GroupVersionKind parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GroupVersionKind parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GroupVersionKind parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static GroupVersionKind parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GroupVersionKind parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static GroupVersionKind parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static GroupVersionKind parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GroupVersionKind parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<GroupVersionKind> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public GroupVersionKind getDefaultInstanceForType()
Returns
getGroup()
Kubernetes Group
string group = 1;
Returns
Type | Description |
String | The group.
|
getGroupBytes()
public ByteString getGroupBytes()
Kubernetes Group
string group = 1;
Returns
getKind()
Kubernetes Kind
string kind = 3;
Returns
Type | Description |
String | The kind.
|
getKindBytes()
public ByteString getKindBytes()
Kubernetes Kind
string kind = 3;
Returns
getParserForType()
public Parser<GroupVersionKind> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getVersion()
public String getVersion()
Kubernetes Version
string version = 2;
Returns
Type | Description |
String | The version.
|
getVersionBytes()
public ByteString getVersionBytes()
Kubernetes Version
string version = 2;
Returns
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public GroupVersionKind.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GroupVersionKind.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public GroupVersionKind.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions