public final class ResourceIdentifier extends GeneratedMessage implements ResourceIdentifierOrBuilderThe identifier for a Google Cloud Platform resource.
Protobuf type google.cloud.capacityplanner.v1beta.ResourceIdentifier
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ResourceIdentifierImplements
ResourceIdentifierOrBuilderStatic Fields
RESOURCE_ATTRIBUTES_FIELD_NUMBER
public static final int RESOURCE_ATTRIBUTES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
RESOURCE_NAME_FIELD_NUMBER
public static final int RESOURCE_NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SERVICE_NAME_FIELD_NUMBER
public static final int SERVICE_NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static ResourceIdentifier getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ResourceIdentifier |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static ResourceIdentifier.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
ResourceIdentifier.Builder |
|
newBuilder(ResourceIdentifier prototype)
public static ResourceIdentifier.Builder newBuilder(ResourceIdentifier prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ResourceIdentifier |
| Returns | |
|---|---|
| Type | Description |
ResourceIdentifier.Builder |
|
parseDelimitedFrom(InputStream input)
public static ResourceIdentifier parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ResourceIdentifier |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ResourceIdentifier parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ResourceIdentifier |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static ResourceIdentifier parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ResourceIdentifier |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ResourceIdentifier parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ResourceIdentifier |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static ResourceIdentifier parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ResourceIdentifier |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ResourceIdentifier parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ResourceIdentifier |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static ResourceIdentifier parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ResourceIdentifier |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ResourceIdentifier parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ResourceIdentifier |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static ResourceIdentifier parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ResourceIdentifier |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ResourceIdentifier parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ResourceIdentifier |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static ResourceIdentifier parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ResourceIdentifier |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ResourceIdentifier parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ResourceIdentifier |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<ResourceIdentifier> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ResourceIdentifier> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public ResourceIdentifier getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ResourceIdentifier |
|
getParserForType()
public Parser<ResourceIdentifier> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ResourceIdentifier> |
|
getResourceAttributes(int index)
public ResourceAttribute getResourceAttributes(int index)repeated .google.cloud.capacityplanner.v1beta.ResourceAttribute resource_attributes = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ResourceAttribute |
|
getResourceAttributesCount()
public int getResourceAttributesCount()repeated .google.cloud.capacityplanner.v1beta.ResourceAttribute resource_attributes = 3;
| Returns | |
|---|---|
| Type | Description |
int |
|
getResourceAttributesList()
public List<ResourceAttribute> getResourceAttributesList()repeated .google.cloud.capacityplanner.v1beta.ResourceAttribute resource_attributes = 3;
| Returns | |
|---|---|
| Type | Description |
List<ResourceAttribute> |
|
getResourceAttributesOrBuilder(int index)
public ResourceAttributeOrBuilder getResourceAttributesOrBuilder(int index)repeated .google.cloud.capacityplanner.v1beta.ResourceAttribute resource_attributes = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ResourceAttributeOrBuilder |
|
getResourceAttributesOrBuilderList()
public List<? extends ResourceAttributeOrBuilder> getResourceAttributesOrBuilderList()repeated .google.cloud.capacityplanner.v1beta.ResourceAttribute resource_attributes = 3;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.capacityplanner.v1beta.ResourceAttributeOrBuilder> |
|
getResourceName()
public String getResourceName()string resource_name = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The resourceName. |
getResourceNameBytes()
public ByteString getResourceNameBytes()string resource_name = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for resourceName. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getServiceName()
public String getServiceName()string service_name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The serviceName. |
getServiceNameBytes()
public ByteString getServiceNameBytes()string service_name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for serviceName. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public ResourceIdentifier.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ResourceIdentifier.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ResourceIdentifier.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ResourceIdentifier.Builder |
|
toBuilder()
public ResourceIdentifier.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ResourceIdentifier.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|