public static final class GetRegionInstantSnapshotRequest.Builder extends GeneratedMessage.Builder<GetRegionInstantSnapshotRequest.Builder> implements GetRegionInstantSnapshotRequestOrBuilderA request message for RegionInstantSnapshots.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionInstantSnapshotRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetRegionInstantSnapshotRequest.BuilderImplements
GetRegionInstantSnapshotRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetRegionInstantSnapshotRequest build()| Returns | |
|---|---|
| Type | Description |
GetRegionInstantSnapshotRequest |
|
buildPartial()
public GetRegionInstantSnapshotRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetRegionInstantSnapshotRequest |
|
clear()
public GetRegionInstantSnapshotRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetRegionInstantSnapshotRequest.Builder |
|
clearInstantSnapshot()
public GetRegionInstantSnapshotRequest.Builder clearInstantSnapshot()Name of the InstantSnapshot resource to return.
string instant_snapshot = 391638626 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetRegionInstantSnapshotRequest.Builder |
This builder for chaining. |
clearProject()
public GetRegionInstantSnapshotRequest.Builder clearProject()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetRegionInstantSnapshotRequest.Builder |
This builder for chaining. |
clearRegion()
public GetRegionInstantSnapshotRequest.Builder clearRegion()The name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetRegionInstantSnapshotRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GetRegionInstantSnapshotRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetRegionInstantSnapshotRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInstantSnapshot()
public String getInstantSnapshot()Name of the InstantSnapshot resource to return.
string instant_snapshot = 391638626 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The instantSnapshot. |
getInstantSnapshotBytes()
public ByteString getInstantSnapshotBytes()Name of the InstantSnapshot resource to return.
string instant_snapshot = 391638626 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for instantSnapshot. |
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(GetRegionInstantSnapshotRequest other)
public GetRegionInstantSnapshotRequest.Builder mergeFrom(GetRegionInstantSnapshotRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetRegionInstantSnapshotRequest |
| Returns | |
|---|---|
| Type | Description |
GetRegionInstantSnapshotRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetRegionInstantSnapshotRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetRegionInstantSnapshotRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetRegionInstantSnapshotRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetRegionInstantSnapshotRequest.Builder |
|
setInstantSnapshot(String value)
public GetRegionInstantSnapshotRequest.Builder setInstantSnapshot(String value)Name of the InstantSnapshot resource to return.
string instant_snapshot = 391638626 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe instantSnapshot to set. |
| Returns | |
|---|---|
| Type | Description |
GetRegionInstantSnapshotRequest.Builder |
This builder for chaining. |
setInstantSnapshotBytes(ByteString value)
public GetRegionInstantSnapshotRequest.Builder setInstantSnapshotBytes(ByteString value)Name of the InstantSnapshot resource to return.
string instant_snapshot = 391638626 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for instantSnapshot to set. |
| Returns | |
|---|---|
| Type | Description |
GetRegionInstantSnapshotRequest.Builder |
This builder for chaining. |
setProject(String value)
public GetRegionInstantSnapshotRequest.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 |
GetRegionInstantSnapshotRequest.Builder |
This builder for chaining. |
setProjectBytes(ByteString value)
public GetRegionInstantSnapshotRequest.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 |
GetRegionInstantSnapshotRequest.Builder |
This builder for chaining. |
setRegion(String value)
public GetRegionInstantSnapshotRequest.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 |
GetRegionInstantSnapshotRequest.Builder |
This builder for chaining. |
setRegionBytes(ByteString value)
public GetRegionInstantSnapshotRequest.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 |
GetRegionInstantSnapshotRequest.Builder |
This builder for chaining. |