Class ResourceCAIInfo (0.1.0)

public final class ResourceCAIInfo extends GeneratedMessageV3 implements ResourceCAIInfoOrBuilder

CAI info of a Resource.

Protobuf type google.cloud.config.v1.ResourceCAIInfo

Static Fields

FULL_RESOURCE_NAME_FIELD_NUMBER

public static final int FULL_RESOURCE_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ResourceCAIInfo getDefaultInstance()
Returns
TypeDescription
ResourceCAIInfo

getDescriptor()

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

newBuilder()

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

newBuilder(ResourceCAIInfo prototype)

public static ResourceCAIInfo.Builder newBuilder(ResourceCAIInfo prototype)
Parameter
NameDescription
prototypeResourceCAIInfo
Returns
TypeDescription
ResourceCAIInfo.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ResourceCAIInfo getDefaultInstanceForType()
Returns
TypeDescription
ResourceCAIInfo

getFullResourceName()

public String getFullResourceName()

CAI resource name in the format following https://cloud.google.com/apis/design/resource_names#full_resource_name

string full_resource_name = 1;

Returns
TypeDescription
String

The fullResourceName.

getFullResourceNameBytes()

public ByteString getFullResourceNameBytes()

CAI resource name in the format following https://cloud.google.com/apis/design/resource_names#full_resource_name

string full_resource_name = 1;

Returns
TypeDescription
ByteString

The bytes for fullResourceName.

getParserForType()

public Parser<ResourceCAIInfo> getParserForType()
Returns
TypeDescription
Parser<ResourceCAIInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 ResourceCAIInfo.Builder newBuilderForType()
Returns
TypeDescription
ResourceCAIInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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