public static final class LookupDiscoveredWorkloadRequest.Builder extends GeneratedMessage.Builder<LookupDiscoveredWorkloadRequest.Builder> implements LookupDiscoveredWorkloadRequestOrBuilderRequest for LookupDiscoveredWorkload.
Protobuf type google.cloud.apphub.v1.LookupDiscoveredWorkloadRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > LookupDiscoveredWorkloadRequest.BuilderImplements
LookupDiscoveredWorkloadRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public LookupDiscoveredWorkloadRequest build()| Returns | |
|---|---|
| Type | Description |
LookupDiscoveredWorkloadRequest |
|
buildPartial()
public LookupDiscoveredWorkloadRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
LookupDiscoveredWorkloadRequest |
|
clear()
public LookupDiscoveredWorkloadRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
LookupDiscoveredWorkloadRequest.Builder |
|
clearParent()
public LookupDiscoveredWorkloadRequest.Builder clearParent() Required. Host project ID and location to lookup Discovered Workload in.
Expected format: projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
LookupDiscoveredWorkloadRequest.Builder |
This builder for chaining. |
clearUri()
public LookupDiscoveredWorkloadRequest.Builder clearUri()Required. Resource URI to find Discovered Workload for. Accepts both project number and project ID and does translation when needed.
string uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
LookupDiscoveredWorkloadRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public LookupDiscoveredWorkloadRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
LookupDiscoveredWorkloadRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. Host project ID and location to lookup Discovered Workload in.
Expected format: projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. Host project ID and location to lookup Discovered Workload in.
Expected format: projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getUri()
public String getUri()Required. Resource URI to find Discovered Workload for. Accepts both project number and project ID and does translation when needed.
string uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The uri. |
getUriBytes()
public ByteString getUriBytes()Required. Resource URI to find Discovered Workload for. Accepts both project number and project ID and does translation when needed.
string uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for uri. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(LookupDiscoveredWorkloadRequest other)
public LookupDiscoveredWorkloadRequest.Builder mergeFrom(LookupDiscoveredWorkloadRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
LookupDiscoveredWorkloadRequest |
| Returns | |
|---|---|
| Type | Description |
LookupDiscoveredWorkloadRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LookupDiscoveredWorkloadRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LookupDiscoveredWorkloadRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public LookupDiscoveredWorkloadRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
LookupDiscoveredWorkloadRequest.Builder |
|
setParent(String value)
public LookupDiscoveredWorkloadRequest.Builder setParent(String value) Required. Host project ID and location to lookup Discovered Workload in.
Expected format: projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
LookupDiscoveredWorkloadRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public LookupDiscoveredWorkloadRequest.Builder setParentBytes(ByteString value) Required. Host project ID and location to lookup Discovered Workload in.
Expected format: projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
LookupDiscoveredWorkloadRequest.Builder |
This builder for chaining. |
setUri(String value)
public LookupDiscoveredWorkloadRequest.Builder setUri(String value)Required. Resource URI to find Discovered Workload for. Accepts both project number and project ID and does translation when needed.
string uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe uri to set. |
| Returns | |
|---|---|
| Type | Description |
LookupDiscoveredWorkloadRequest.Builder |
This builder for chaining. |
setUriBytes(ByteString value)
public LookupDiscoveredWorkloadRequest.Builder setUriBytes(ByteString value)Required. Resource URI to find Discovered Workload for. Accepts both project number and project ID and does translation when needed.
string uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for uri to set. |
| Returns | |
|---|---|
| Type | Description |
LookupDiscoveredWorkloadRequest.Builder |
This builder for chaining. |