Class GetRegionSnapshotSettingRequest.Builder (1.105.0)

public static final class GetRegionSnapshotSettingRequest.Builder extends GeneratedMessage.Builder<GetRegionSnapshotSettingRequest.Builder> implements GetRegionSnapshotSettingRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.GetRegionSnapshotSettingRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetRegionSnapshotSettingRequest build()
Returns
Type Description
GetRegionSnapshotSettingRequest

buildPartial()

public GetRegionSnapshotSettingRequest buildPartial()
Returns
Type Description
GetRegionSnapshotSettingRequest

clear()

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

clearProject()

public GetRegionSnapshotSettingRequest.Builder clearProject()

Project ID for this request.

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

Returns
Type Description
GetRegionSnapshotSettingRequest.Builder

This builder for chaining.

clearRegion()

public GetRegionSnapshotSettingRequest.Builder clearRegion()

Name of the region for this request.

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

Returns
Type Description
GetRegionSnapshotSettingRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetRegionSnapshotSettingRequest getDefaultInstanceForType()
Returns
Type Description
GetRegionSnapshotSettingRequest

getDescriptorForType()

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

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 for this request.

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

Returns
Type Description
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

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(GetRegionSnapshotSettingRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setProject(String value)

public GetRegionSnapshotSettingRequest.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
GetRegionSnapshotSettingRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetRegionSnapshotSettingRequest.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
GetRegionSnapshotSettingRequest.Builder

This builder for chaining.

setRegion(String value)

public GetRegionSnapshotSettingRequest.Builder setRegion(String value)

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
GetRegionSnapshotSettingRequest.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public GetRegionSnapshotSettingRequest.Builder setRegionBytes(ByteString value)

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
GetRegionSnapshotSettingRequest.Builder

This builder for chaining.