public static final class GetServiceAttachmentRequest.Builder extends GeneratedMessageV3.Builder<GetServiceAttachmentRequest.Builder> implements GetServiceAttachmentRequestOrBuilderA request message for ServiceAttachments.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetServiceAttachmentRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GetServiceAttachmentRequest.BuilderImplements
GetServiceAttachmentRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetServiceAttachmentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
GetServiceAttachmentRequest.Builder |
build()
public GetServiceAttachmentRequest build()| Type | Description |
GetServiceAttachmentRequest |
buildPartial()
public GetServiceAttachmentRequest buildPartial()| Type | Description |
GetServiceAttachmentRequest |
clear()
public GetServiceAttachmentRequest.Builder clear()| Type | Description |
GetServiceAttachmentRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public GetServiceAttachmentRequest.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
field |
FieldDescriptor |
| Type | Description |
GetServiceAttachmentRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public GetServiceAttachmentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
oneof |
OneofDescriptor |
| Type | Description |
GetServiceAttachmentRequest.Builder |
clearProject()
public GetServiceAttachmentRequest.Builder clearProject()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| 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];
| 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];
| Type | Description |
GetServiceAttachmentRequest.Builder |
This builder for chaining. |
clone()
public GetServiceAttachmentRequest.Builder clone()| Type | Description |
GetServiceAttachmentRequest.Builder |
getDefaultInstanceForType()
public GetServiceAttachmentRequest getDefaultInstanceForType()| Type | Description |
GetServiceAttachmentRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
Descriptor |
getProject()
public String getProject()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
String |
The project. |
getProjectBytes()
public ByteString getProjectBytes()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| 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];
| Type | Description |
String |
The region. |
getRegionBytes()
public ByteString getRegionBytes()Name of the region of this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| 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];
| 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];
| Type | Description |
ByteString |
The bytes for serviceAttachment. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
boolean |
mergeFrom(GetServiceAttachmentRequest other)
public GetServiceAttachmentRequest.Builder mergeFrom(GetServiceAttachmentRequest other)| Name | Description |
other |
GetServiceAttachmentRequest |
| Type | Description |
GetServiceAttachmentRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetServiceAttachmentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Type | Description |
GetServiceAttachmentRequest.Builder |
| Type | Description |
IOException |
mergeFrom(Message other)
public GetServiceAttachmentRequest.Builder mergeFrom(Message other)| Name | Description |
other |
Message |
| Type | Description |
GetServiceAttachmentRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetServiceAttachmentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
GetServiceAttachmentRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GetServiceAttachmentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| 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];
| Name | Description |
value |
StringThe project to set. |
| 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];
| Name | Description |
value |
ByteStringThe bytes for project to set. |
| 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];
| Name | Description |
value |
StringThe region to set. |
| 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];
| Name | Description |
value |
ByteStringThe bytes for region to set. |
| Type | Description |
GetServiceAttachmentRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetServiceAttachmentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Type | Description |
GetServiceAttachmentRequest.Builder |
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];
| Name | Description |
value |
StringThe serviceAttachment to set. |
| 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];
| Name | Description |
value |
ByteStringThe bytes for serviceAttachment to set. |
| Type | Description |
GetServiceAttachmentRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final GetServiceAttachmentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
GetServiceAttachmentRequest.Builder |