Class GetImageViewRequest.Builder (1.109.0)

public static final class GetImageViewRequest.Builder extends GeneratedMessage.Builder<GetImageViewRequest.Builder> implements GetImageViewRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.GetImageViewRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetImageViewRequest build()
Returns
Type Description
GetImageViewRequest

buildPartial()

public GetImageViewRequest buildPartial()
Returns
Type Description
GetImageViewRequest

clear()

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

clearProject()

public GetImageViewRequest.Builder clearProject()

Required. Project ID for this request.

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

Returns
Type Description
GetImageViewRequest.Builder

This builder for chaining.

clearRegion()

public GetImageViewRequest.Builder clearRegion()

Required. Name of the region for this request.

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

Returns
Type Description
GetImageViewRequest.Builder

This builder for chaining.

clearResourceId()

public GetImageViewRequest.Builder clearResourceId()

Name of the image resource to return.

string resource_id = 160795372 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetImageViewRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetImageViewRequest getDefaultInstanceForType()
Returns
Type Description
GetImageViewRequest

getDescriptorForType()

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

getProject()

public String getProject()

Required. Project ID for this request.

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

Returns
Type Description
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Required. 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()

Required. 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()

Required. Name of the region for this request.

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

Returns
Type Description
ByteString

The bytes for region.

getResourceId()

public String getResourceId()

Name of the image resource to return.

string resource_id = 160795372 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The resourceId.

getResourceIdBytes()

public ByteString getResourceIdBytes()

Name of the image resource to return.

string resource_id = 160795372 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for resourceId.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetImageViewRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setProject(String value)

public GetImageViewRequest.Builder setProject(String value)

Required. 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
GetImageViewRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetImageViewRequest.Builder setProjectBytes(ByteString value)

Required. 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
GetImageViewRequest.Builder

This builder for chaining.

setRegion(String value)

public GetImageViewRequest.Builder setRegion(String value)

Required. 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
GetImageViewRequest.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public GetImageViewRequest.Builder setRegionBytes(ByteString value)

Required. 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
GetImageViewRequest.Builder

This builder for chaining.

setResourceId(String value)

public GetImageViewRequest.Builder setResourceId(String value)

Name of the image resource to return.

string resource_id = 160795372 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The resourceId to set.

Returns
Type Description
GetImageViewRequest.Builder

This builder for chaining.

setResourceIdBytes(ByteString value)

public GetImageViewRequest.Builder setResourceIdBytes(ByteString value)

Name of the image resource to return.

string resource_id = 160795372 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for resourceId to set.

Returns
Type Description
GetImageViewRequest.Builder

This builder for chaining.