Class GetRegionInstantSnapshotGroupRequest.Builder (1.105.0)

public static final class GetRegionInstantSnapshotGroupRequest.Builder extends GeneratedMessage.Builder<GetRegionInstantSnapshotGroupRequest.Builder> implements GetRegionInstantSnapshotGroupRequestOrBuilder

A request message for RegionInstantSnapshotGroups.Get. See the method description for details.

Protobuf type google.cloud.compute.v1.GetRegionInstantSnapshotGroupRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public GetRegionInstantSnapshotGroupRequest build()
Returns
Type Description
GetRegionInstantSnapshotGroupRequest

buildPartial()

public GetRegionInstantSnapshotGroupRequest buildPartial()
Returns
Type Description
GetRegionInstantSnapshotGroupRequest

clear()

public GetRegionInstantSnapshotGroupRequest.Builder clear()
Returns
Type Description
GetRegionInstantSnapshotGroupRequest.Builder
Overrides

clearInstantSnapshotGroup()

public GetRegionInstantSnapshotGroupRequest.Builder clearInstantSnapshotGroup()

Name of the InstantSnapshotGroup resource to return.

string instant_snapshot_group = 223180386 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetRegionInstantSnapshotGroupRequest.Builder

This builder for chaining.

clearProject()

public GetRegionInstantSnapshotGroupRequest.Builder clearProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetRegionInstantSnapshotGroupRequest.Builder

This builder for chaining.

clearRegion()

public GetRegionInstantSnapshotGroupRequest.Builder clearRegion()

The name of the region for this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetRegionInstantSnapshotGroupRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetRegionInstantSnapshotGroupRequest getDefaultInstanceForType()
Returns
Type Description
GetRegionInstantSnapshotGroupRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInstantSnapshotGroup()

public String getInstantSnapshotGroup()

Name of the InstantSnapshotGroup resource to return.

string instant_snapshot_group = 223180386 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The instantSnapshotGroup.

getInstantSnapshotGroupBytes()

public ByteString getInstantSnapshotGroupBytes()

Name of the InstantSnapshotGroup resource to return.

string instant_snapshot_group = 223180386 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for instantSnapshotGroup.

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetRegionInstantSnapshotGroupRequest other)

public GetRegionInstantSnapshotGroupRequest.Builder mergeFrom(GetRegionInstantSnapshotGroupRequest other)
Parameter
Name Description
other GetRegionInstantSnapshotGroupRequest
Returns
Type Description
GetRegionInstantSnapshotGroupRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetRegionInstantSnapshotGroupRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetRegionInstantSnapshotGroupRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GetRegionInstantSnapshotGroupRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GetRegionInstantSnapshotGroupRequest.Builder
Overrides

setInstantSnapshotGroup(String value)

public GetRegionInstantSnapshotGroupRequest.Builder setInstantSnapshotGroup(String value)

Name of the InstantSnapshotGroup resource to return.

string instant_snapshot_group = 223180386 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The instantSnapshotGroup to set.

Returns
Type Description
GetRegionInstantSnapshotGroupRequest.Builder

This builder for chaining.

setInstantSnapshotGroupBytes(ByteString value)

public GetRegionInstantSnapshotGroupRequest.Builder setInstantSnapshotGroupBytes(ByteString value)

Name of the InstantSnapshotGroup resource to return.

string instant_snapshot_group = 223180386 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for instantSnapshotGroup to set.

Returns
Type Description
GetRegionInstantSnapshotGroupRequest.Builder

This builder for chaining.

setProject(String value)

public GetRegionInstantSnapshotGroupRequest.Builder setProject(String value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The project to set.

Returns
Type Description
GetRegionInstantSnapshotGroupRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetRegionInstantSnapshotGroupRequest.Builder setProjectBytes(ByteString value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for project to set.

Returns
Type Description
GetRegionInstantSnapshotGroupRequest.Builder

This builder for chaining.

setRegion(String value)

public GetRegionInstantSnapshotGroupRequest.Builder setRegion(String value)

The name of the region for this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The region to set.

Returns
Type Description
GetRegionInstantSnapshotGroupRequest.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public GetRegionInstantSnapshotGroupRequest.Builder setRegionBytes(ByteString value)

The name of the region for this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for region to set.

Returns
Type Description
GetRegionInstantSnapshotGroupRequest.Builder

This builder for chaining.