Class GetPreviewFeatureRequest.Builder (1.93.0)

public static final class GetPreviewFeatureRequest.Builder extends GeneratedMessage.Builder<GetPreviewFeatureRequest.Builder> implements GetPreviewFeatureRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.GetPreviewFeatureRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetPreviewFeatureRequest build()
Returns
Type Description
GetPreviewFeatureRequest

buildPartial()

public GetPreviewFeatureRequest buildPartial()
Returns
Type Description
GetPreviewFeatureRequest

clear()

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

clearPreviewFeature()

public GetPreviewFeatureRequest.Builder clearPreviewFeature()

Name of the PreviewFeature for this request.

string preview_feature = 454999423 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetPreviewFeatureRequest.Builder

This builder for chaining.

clearProject()

public GetPreviewFeatureRequest.Builder clearProject()

Project ID for this request.

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

Returns
Type Description
GetPreviewFeatureRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetPreviewFeatureRequest getDefaultInstanceForType()
Returns
Type Description
GetPreviewFeatureRequest

getDescriptorForType()

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

getPreviewFeature()

public String getPreviewFeature()

Name of the PreviewFeature for this request.

string preview_feature = 454999423 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The previewFeature.

getPreviewFeatureBytes()

public ByteString getPreviewFeatureBytes()

Name of the PreviewFeature for this request.

string preview_feature = 454999423 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for previewFeature.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetPreviewFeatureRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setPreviewFeature(String value)

public GetPreviewFeatureRequest.Builder setPreviewFeature(String value)

Name of the PreviewFeature for this request.

string preview_feature = 454999423 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The previewFeature to set.

Returns
Type Description
GetPreviewFeatureRequest.Builder

This builder for chaining.

setPreviewFeatureBytes(ByteString value)

public GetPreviewFeatureRequest.Builder setPreviewFeatureBytes(ByteString value)

Name of the PreviewFeature for this request.

string preview_feature = 454999423 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for previewFeature to set.

Returns
Type Description
GetPreviewFeatureRequest.Builder

This builder for chaining.

setProject(String value)

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

This builder for chaining.

setProjectBytes(ByteString value)

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

This builder for chaining.