Class LookupDiscoveredWorkloadResponse (0.4.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static LookupDiscoveredWorkloadResponse getDefaultInstance()
Returns
TypeDescription
LookupDiscoveredWorkloadResponse

getDescriptor()

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

newBuilder()

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

newBuilder(LookupDiscoveredWorkloadResponse prototype)

public static LookupDiscoveredWorkloadResponse.Builder newBuilder(LookupDiscoveredWorkloadResponse prototype)
Parameter
NameDescription
prototypeLookupDiscoveredWorkloadResponse
Returns
TypeDescription
LookupDiscoveredWorkloadResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public LookupDiscoveredWorkloadResponse getDefaultInstanceForType()
Returns
TypeDescription
LookupDiscoveredWorkloadResponse

getDiscoveredWorkload()

public DiscoveredWorkload getDiscoveredWorkload()

Discovered Workload if exists, empty otherwise.

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

Returns
TypeDescription
DiscoveredWorkload

The discoveredWorkload.

getDiscoveredWorkloadOrBuilder()

public DiscoveredWorkloadOrBuilder getDiscoveredWorkloadOrBuilder()

Discovered Workload if exists, empty otherwise.

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

Returns
TypeDescription
DiscoveredWorkloadOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasDiscoveredWorkload()

public boolean hasDiscoveredWorkload()

Discovered Workload if exists, empty otherwise.

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

Returns
TypeDescription
boolean

Whether the discoveredWorkload field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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