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 |
---|
Type | Description |
int | |
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static GroupVersionKind getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static GroupVersionKind.Builder newBuilder()
newBuilder(GroupVersionKind prototype)
public static GroupVersionKind.Builder newBuilder(GroupVersionKind prototype)
public static GroupVersionKind parseDelimitedFrom(InputStream input)
public static GroupVersionKind parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static GroupVersionKind parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GroupVersionKind parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static GroupVersionKind parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GroupVersionKind parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GroupVersionKind parseFrom(CodedInputStream input)
public static GroupVersionKind parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GroupVersionKind parseFrom(InputStream input)
public static GroupVersionKind parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static GroupVersionKind parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GroupVersionKind parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<GroupVersionKind> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public GroupVersionKind getDefaultInstanceForType()
getGroup()
Kubernetes Group
string group = 1;
Returns |
---|
Type | Description |
String | The group.
|
getGroupBytes()
public ByteString getGroupBytes()
Kubernetes Group
string group = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for group.
|
getKind()
Kubernetes Kind
string kind = 3;
Returns |
---|
Type | Description |
String | The kind.
|
getKindBytes()
public ByteString getKindBytes()
Kubernetes Kind
string kind = 3;
Returns |
---|
Type | Description |
ByteString | The bytes for kind.
|
getParserForType()
public Parser<GroupVersionKind> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
---|
Type | Description |
ByteString | The bytes for version.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public GroupVersionKind.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GroupVersionKind.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public GroupVersionKind.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides