Class DeployedResource (0.3.0)

public final class DeployedResource extends GeneratedMessage implements DeployedResourceOrBuilder

DeployedResource represents a single deployed GCP resource.

Protobuf type google.cloud.designcenter.v1.DeployedResource

Static Fields

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
Type Description
int

PROJECT_FIELD_NUMBER

public static final int PROJECT_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_ID_FIELD_NUMBER

public static final int RESOURCE_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DeployedResource getDefaultInstance()
Returns
Type Description
DeployedResource

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DeployedResource.Builder newBuilder()
Returns
Type Description
DeployedResource.Builder

newBuilder(DeployedResource prototype)

public static DeployedResource.Builder newBuilder(DeployedResource prototype)
Parameter
Name Description
prototype DeployedResource
Returns
Type Description
DeployedResource.Builder

parseDelimitedFrom(InputStream input)

public static DeployedResource parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DeployedResource
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeployedResource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeployedResource
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DeployedResource parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DeployedResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DeployedResource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeployedResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DeployedResource parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DeployedResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DeployedResource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeployedResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DeployedResource parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DeployedResource
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DeployedResource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeployedResource
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DeployedResource parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DeployedResource
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeployedResource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeployedResource
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DeployedResource parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DeployedResource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DeployedResource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeployedResource
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DeployedResource> parser()
Returns
Type Description
Parser<DeployedResource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public DeployedResource getDefaultInstanceForType()
Returns
Type Description
DeployedResource

getLocation()

public String getLocation()

Optional. The location of the deployed resource.

string location = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

Optional. The location of the deployed resource.

string location = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for location.

getParserForType()

public Parser<DeployedResource> getParserForType()
Returns
Type Description
Parser<DeployedResource>
Overrides

getProject()

public String getProject()

Optional. The project ID of the deployed resource.

string project = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Optional. The project ID of the deployed resource.

string project = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for project.

getResourceId()

public String getResourceId()

Required. The full resource name of the deployed GCP resource. Example: projects/my-project/locations/us-central1-a/instances/my-instance

string resource_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The resourceId.

getResourceIdBytes()

public ByteString getResourceIdBytes()

Required. The full resource name of the deployed GCP resource. Example: projects/my-project/locations/us-central1-a/instances/my-instance

string resource_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for resourceId.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DeployedResource.Builder newBuilderForType()
Returns
Type Description
DeployedResource.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected DeployedResource.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DeployedResource.Builder
Overrides

toBuilder()

public DeployedResource.Builder toBuilder()
Returns
Type Description
DeployedResource.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException