Class WorkloadReference (0.3.0)

public final class WorkloadReference extends GeneratedMessageV3 implements WorkloadReferenceOrBuilder

Reference of an underlying compute resource represented by the Workload.

Protobuf type google.cloud.apphub.v1.WorkloadReference

Static Fields

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static WorkloadReference getDefaultInstance()
Returns
TypeDescription
WorkloadReference

getDescriptor()

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

newBuilder()

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

newBuilder(WorkloadReference prototype)

public static WorkloadReference.Builder newBuilder(WorkloadReference prototype)
Parameter
NameDescription
prototypeWorkloadReference
Returns
TypeDescription
WorkloadReference.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public WorkloadReference getDefaultInstanceForType()
Returns
TypeDescription
WorkloadReference

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUri()

public String getUri()

Output only. The underlying compute resource uri.

string uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The uri.

getUriBytes()

public ByteString getUriBytes()

Output only. The underlying compute resource uri.

string uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for uri.

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 WorkloadReference.Builder newBuilderForType()
Returns
TypeDescription
WorkloadReference.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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