public static final class GetTargetPoolRequest.Builder extends GeneratedMessage.Builder<GetTargetPoolRequest.Builder> implements GetTargetPoolRequestOrBuilderA request message for TargetPools.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetTargetPoolRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetTargetPoolRequest.BuilderImplements
GetTargetPoolRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetTargetPoolRequest build()| Returns | |
|---|---|
| Type | Description |
GetTargetPoolRequest |
|
buildPartial()
public GetTargetPoolRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetTargetPoolRequest |
|
clear()
public GetTargetPoolRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetTargetPoolRequest.Builder |
|
clearProject()
public GetTargetPoolRequest.Builder clearProject()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetTargetPoolRequest.Builder |
This builder for chaining. |
clearRegion()
public GetTargetPoolRequest.Builder clearRegion()Name of the region scoping this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetTargetPoolRequest.Builder |
This builder for chaining. |
clearTargetPool()
public GetTargetPoolRequest.Builder clearTargetPool()Name of the TargetPool resource to return.
string target_pool = 62796298 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetTargetPoolRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GetTargetPoolRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetTargetPoolRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getProject()
public String getProject()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The project. |
getProjectBytes()
public ByteString getProjectBytes()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for project. |
getRegion()
public String getRegion()Name of the region scoping this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The region. |
getRegionBytes()
public ByteString getRegionBytes()Name of the region scoping this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for region. |
getTargetPool()
public String getTargetPool()Name of the TargetPool resource to return.
string target_pool = 62796298 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The targetPool. |
getTargetPoolBytes()
public ByteString getTargetPoolBytes()Name of the TargetPool resource to return.
string target_pool = 62796298 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for targetPool. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetTargetPoolRequest other)
public GetTargetPoolRequest.Builder mergeFrom(GetTargetPoolRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetTargetPoolRequest |
| Returns | |
|---|---|
| Type | Description |
GetTargetPoolRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetTargetPoolRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetTargetPoolRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetTargetPoolRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetTargetPoolRequest.Builder |
|
setProject(String value)
public GetTargetPoolRequest.Builder setProject(String value)Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe project to set. |
| Returns | |
|---|---|
| Type | Description |
GetTargetPoolRequest.Builder |
This builder for chaining. |
setProjectBytes(ByteString value)
public GetTargetPoolRequest.Builder setProjectBytes(ByteString value)Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for project to set. |
| Returns | |
|---|---|
| Type | Description |
GetTargetPoolRequest.Builder |
This builder for chaining. |
setRegion(String value)
public GetTargetPoolRequest.Builder setRegion(String value)Name of the region scoping this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe region to set. |
| Returns | |
|---|---|
| Type | Description |
GetTargetPoolRequest.Builder |
This builder for chaining. |
setRegionBytes(ByteString value)
public GetTargetPoolRequest.Builder setRegionBytes(ByteString value)Name of the region scoping this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for region to set. |
| Returns | |
|---|---|
| Type | Description |
GetTargetPoolRequest.Builder |
This builder for chaining. |
setTargetPool(String value)
public GetTargetPoolRequest.Builder setTargetPool(String value)Name of the TargetPool resource to return.
string target_pool = 62796298 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe targetPool to set. |
| Returns | |
|---|---|
| Type | Description |
GetTargetPoolRequest.Builder |
This builder for chaining. |
setTargetPoolBytes(ByteString value)
public GetTargetPoolRequest.Builder setTargetPoolBytes(ByteString value)Name of the TargetPool resource to return.
string target_pool = 62796298 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for targetPool to set. |
| Returns | |
|---|---|
| Type | Description |
GetTargetPoolRequest.Builder |
This builder for chaining. |