public static final class GetRegionDiskTypeRequest.Builder extends GeneratedMessage.Builder<GetRegionDiskTypeRequest.Builder> implements GetRegionDiskTypeRequestOrBuilderA request message for RegionDiskTypes.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionDiskTypeRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetRegionDiskTypeRequest.BuilderImplements
GetRegionDiskTypeRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetRegionDiskTypeRequest build()| Returns | |
|---|---|
| Type | Description |
GetRegionDiskTypeRequest |
|
buildPartial()
public GetRegionDiskTypeRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetRegionDiskTypeRequest |
|
clear()
public GetRegionDiskTypeRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetRegionDiskTypeRequest.Builder |
|
clearDiskType()
public GetRegionDiskTypeRequest.Builder clearDiskType()Name of the disk type to return.
string disk_type = 93009052 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetRegionDiskTypeRequest.Builder |
This builder for chaining. |
clearProject()
public GetRegionDiskTypeRequest.Builder clearProject()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetRegionDiskTypeRequest.Builder |
This builder for chaining. |
clearRegion()
public GetRegionDiskTypeRequest.Builder clearRegion()The name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetRegionDiskTypeRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GetRegionDiskTypeRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetRegionDiskTypeRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDiskType()
public String getDiskType()Name of the disk type to return.
string disk_type = 93009052 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The diskType. |
getDiskTypeBytes()
public ByteString getDiskTypeBytes()Name of the disk type to return.
string disk_type = 93009052 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for diskType. |
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()The name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The region. |
getRegionBytes()
public ByteString getRegionBytes()The name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for region. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetRegionDiskTypeRequest other)
public GetRegionDiskTypeRequest.Builder mergeFrom(GetRegionDiskTypeRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetRegionDiskTypeRequest |
| Returns | |
|---|---|
| Type | Description |
GetRegionDiskTypeRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetRegionDiskTypeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetRegionDiskTypeRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetRegionDiskTypeRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetRegionDiskTypeRequest.Builder |
|
setDiskType(String value)
public GetRegionDiskTypeRequest.Builder setDiskType(String value)Name of the disk type to return.
string disk_type = 93009052 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe diskType to set. |
| Returns | |
|---|---|
| Type | Description |
GetRegionDiskTypeRequest.Builder |
This builder for chaining. |
setDiskTypeBytes(ByteString value)
public GetRegionDiskTypeRequest.Builder setDiskTypeBytes(ByteString value)Name of the disk type to return.
string disk_type = 93009052 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for diskType to set. |
| Returns | |
|---|---|
| Type | Description |
GetRegionDiskTypeRequest.Builder |
This builder for chaining. |
setProject(String value)
public GetRegionDiskTypeRequest.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 |
GetRegionDiskTypeRequest.Builder |
This builder for chaining. |
setProjectBytes(ByteString value)
public GetRegionDiskTypeRequest.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 |
GetRegionDiskTypeRequest.Builder |
This builder for chaining. |
setRegion(String value)
public GetRegionDiskTypeRequest.Builder setRegion(String value)The name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe region to set. |
| Returns | |
|---|---|
| Type | Description |
GetRegionDiskTypeRequest.Builder |
This builder for chaining. |
setRegionBytes(ByteString value)
public GetRegionDiskTypeRequest.Builder setRegionBytes(ByteString value)The name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for region to set. |
| Returns | |
|---|---|
| Type | Description |
GetRegionDiskTypeRequest.Builder |
This builder for chaining. |