Class LookupDiscoveredWorkloadResponse (0.16.0)

public final class LookupDiscoveredWorkloadResponse extends GeneratedMessageV3 implements LookupDiscoveredWorkloadResponseOrBuilder

Response for LookupDiscoveredWorkload.

Protobuf type google.cloud.apphub.v1.LookupDiscoveredWorkloadResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > LookupDiscoveredWorkloadResponse

Static Fields

DISCOVERED_WORKLOAD_FIELD_NUMBER

public static final int DISCOVERED_WORKLOAD_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static LookupDiscoveredWorkloadResponse getDefaultInstance()
Returns
Type Description
LookupDiscoveredWorkloadResponse

getDescriptor()

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

newBuilder()

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

newBuilder(LookupDiscoveredWorkloadResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public LookupDiscoveredWorkloadResponse getDefaultInstanceForType()
Returns
Type Description
LookupDiscoveredWorkloadResponse

getDiscoveredWorkload()

public DiscoveredWorkload getDiscoveredWorkload()

Discovered Workload if exists, empty otherwise.

.google.cloud.apphub.v1.DiscoveredWorkload discovered_workload = 1;

Returns
Type Description
DiscoveredWorkload

The discoveredWorkload.

getDiscoveredWorkloadOrBuilder()

public DiscoveredWorkloadOrBuilder getDiscoveredWorkloadOrBuilder()

Discovered Workload if exists, empty otherwise.

.google.cloud.apphub.v1.DiscoveredWorkload discovered_workload = 1;

Returns
Type Description
DiscoveredWorkloadOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasDiscoveredWorkload()

public boolean hasDiscoveredWorkload()

Discovered Workload if exists, empty otherwise.

.google.cloud.apphub.v1.DiscoveredWorkload discovered_workload = 1;

Returns
Type Description
boolean

Whether the discoveredWorkload field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LookupDiscoveredWorkloadResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
LookupDiscoveredWorkloadResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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