public static final class GetServiceAttachmentRequest.Builder extends GeneratedMessage.Builder<GetServiceAttachmentRequest.Builder> implements GetServiceAttachmentRequestOrBuilderA request message for ServiceAttachments.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetServiceAttachmentRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetServiceAttachmentRequest.BuilderImplements
GetServiceAttachmentRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetServiceAttachmentRequest build()| Returns | |
|---|---|
| Type | Description |
GetServiceAttachmentRequest |
|
buildPartial()
public GetServiceAttachmentRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetServiceAttachmentRequest |
|
clear()
public GetServiceAttachmentRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetServiceAttachmentRequest.Builder |
|
clearProject()
public GetServiceAttachmentRequest.Builder clearProject()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetServiceAttachmentRequest.Builder |
This builder for chaining. |
clearRegion()
public GetServiceAttachmentRequest.Builder clearRegion()Name of the region of this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetServiceAttachmentRequest.Builder |
This builder for chaining. |
clearServiceAttachment()
public GetServiceAttachmentRequest.Builder clearServiceAttachment()Name of the ServiceAttachment resource to return.
string service_attachment = 338957549 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetServiceAttachmentRequest.Builder |
This builder for chaining. |
clearShowNatIps()
public GetServiceAttachmentRequest.Builder clearShowNatIps()Indicates whether NAT IPs should be included in the response.
optional bool show_nat_ips = 485502156;
| Returns | |
|---|---|
| Type | Description |
GetServiceAttachmentRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GetServiceAttachmentRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetServiceAttachmentRequest |
|
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 of this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The region. |
getRegionBytes()
public ByteString getRegionBytes()Name of the region of this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for region. |
getServiceAttachment()
public String getServiceAttachment()Name of the ServiceAttachment resource to return.
string service_attachment = 338957549 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The serviceAttachment. |
getServiceAttachmentBytes()
public ByteString getServiceAttachmentBytes()Name of the ServiceAttachment resource to return.
string service_attachment = 338957549 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for serviceAttachment. |
getShowNatIps()
public boolean getShowNatIps()Indicates whether NAT IPs should be included in the response.
optional bool show_nat_ips = 485502156;
| Returns | |
|---|---|
| Type | Description |
boolean |
The showNatIps. |
hasShowNatIps()
public boolean hasShowNatIps()Indicates whether NAT IPs should be included in the response.
optional bool show_nat_ips = 485502156;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the showNatIps field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetServiceAttachmentRequest other)
public GetServiceAttachmentRequest.Builder mergeFrom(GetServiceAttachmentRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetServiceAttachmentRequest |
| Returns | |
|---|---|
| Type | Description |
GetServiceAttachmentRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetServiceAttachmentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetServiceAttachmentRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetServiceAttachmentRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetServiceAttachmentRequest.Builder |
|
setProject(String value)
public GetServiceAttachmentRequest.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 |
GetServiceAttachmentRequest.Builder |
This builder for chaining. |
setProjectBytes(ByteString value)
public GetServiceAttachmentRequest.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 |
GetServiceAttachmentRequest.Builder |
This builder for chaining. |
setRegion(String value)
public GetServiceAttachmentRequest.Builder setRegion(String value)Name of the region of this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe region to set. |
| Returns | |
|---|---|
| Type | Description |
GetServiceAttachmentRequest.Builder |
This builder for chaining. |
setRegionBytes(ByteString value)
public GetServiceAttachmentRequest.Builder setRegionBytes(ByteString value)Name of the region of this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for region to set. |
| Returns | |
|---|---|
| Type | Description |
GetServiceAttachmentRequest.Builder |
This builder for chaining. |
setServiceAttachment(String value)
public GetServiceAttachmentRequest.Builder setServiceAttachment(String value)Name of the ServiceAttachment resource to return.
string service_attachment = 338957549 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe serviceAttachment to set. |
| Returns | |
|---|---|
| Type | Description |
GetServiceAttachmentRequest.Builder |
This builder for chaining. |
setServiceAttachmentBytes(ByteString value)
public GetServiceAttachmentRequest.Builder setServiceAttachmentBytes(ByteString value)Name of the ServiceAttachment resource to return.
string service_attachment = 338957549 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for serviceAttachment to set. |
| Returns | |
|---|---|
| Type | Description |
GetServiceAttachmentRequest.Builder |
This builder for chaining. |
setShowNatIps(boolean value)
public GetServiceAttachmentRequest.Builder setShowNatIps(boolean value)Indicates whether NAT IPs should be included in the response.
optional bool show_nat_ips = 485502156;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe showNatIps to set. |
| Returns | |
|---|---|
| Type | Description |
GetServiceAttachmentRequest.Builder |
This builder for chaining. |