public static final class Meta.GroupResource extends com.google.protobuf.GeneratedMessageV3 implements Meta.GroupResourceOrBuilder
GroupResource specifies a Group and a Resource, but does not force a version. This is useful for identifying concepts during lookup stages without having partially valid types +protobuf.options.(gogoproto.goproto_stringer)=falseProtobuf type
k8s.io.apimachinery.pkg.apis.meta.v1.GroupResource
Modifier and Type | Class and Description |
---|---|
static class |
Meta.GroupResource.Builder
GroupResource specifies a Group and a Resource, but does not force a version.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
GROUP_FIELD_NUMBER |
static com.google.protobuf.Parser<Meta.GroupResource> |
PARSER
Deprecated.
|
static int |
RESOURCE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static Meta.GroupResource |
getDefaultInstance() |
Meta.GroupResource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getGroup()
optional string group = 1; |
com.google.protobuf.ByteString |
getGroupBytes()
optional string group = 1; |
com.google.protobuf.Parser<Meta.GroupResource> |
getParserForType() |
String |
getResource()
optional string resource = 2; |
com.google.protobuf.ByteString |
getResourceBytes()
optional string resource = 2; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasGroup()
optional string group = 1; |
int |
hashCode() |
boolean |
hasResource()
optional string resource = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Meta.GroupResource.Builder |
newBuilder() |
static Meta.GroupResource.Builder |
newBuilder(Meta.GroupResource prototype) |
Meta.GroupResource.Builder |
newBuilderForType() |
protected Meta.GroupResource.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Meta.GroupResource |
parseDelimitedFrom(InputStream input) |
static Meta.GroupResource |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Meta.GroupResource |
parseFrom(byte[] data) |
static Meta.GroupResource |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Meta.GroupResource |
parseFrom(ByteBuffer data) |
static Meta.GroupResource |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Meta.GroupResource |
parseFrom(com.google.protobuf.ByteString data) |
static Meta.GroupResource |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Meta.GroupResource |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Meta.GroupResource |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Meta.GroupResource |
parseFrom(InputStream input) |
static Meta.GroupResource |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Meta.GroupResource> |
parser() |
Meta.GroupResource.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int GROUP_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Meta.GroupResource> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public boolean hasGroup()
optional string group = 1;
hasGroup
in interface Meta.GroupResourceOrBuilder
public String getGroup()
optional string group = 1;
getGroup
in interface Meta.GroupResourceOrBuilder
public com.google.protobuf.ByteString getGroupBytes()
optional string group = 1;
getGroupBytes
in interface Meta.GroupResourceOrBuilder
public boolean hasResource()
optional string resource = 2;
hasResource
in interface Meta.GroupResourceOrBuilder
public String getResource()
optional string resource = 2;
getResource
in interface Meta.GroupResourceOrBuilder
public com.google.protobuf.ByteString getResourceBytes()
optional string resource = 2;
getResourceBytes
in interface Meta.GroupResourceOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static Meta.GroupResource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Meta.GroupResource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Meta.GroupResource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Meta.GroupResource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Meta.GroupResource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Meta.GroupResource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Meta.GroupResource parseFrom(InputStream input) throws IOException
IOException
public static Meta.GroupResource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Meta.GroupResource parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Meta.GroupResource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Meta.GroupResource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Meta.GroupResource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Meta.GroupResource.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Meta.GroupResource.Builder newBuilder()
public static Meta.GroupResource.Builder newBuilder(Meta.GroupResource prototype)
public Meta.GroupResource.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Meta.GroupResource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static Meta.GroupResource getDefaultInstance()
public static com.google.protobuf.Parser<Meta.GroupResource> parser()
public com.google.protobuf.Parser<Meta.GroupResource> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Meta.GroupResource getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2019. All rights reserved.