public static final class GetPreviewFeatureRequest.Builder extends GeneratedMessage.Builder<GetPreviewFeatureRequest.Builder> implements GetPreviewFeatureRequestOrBuilderA request message for PreviewFeatures.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetPreviewFeatureRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetPreviewFeatureRequest.BuilderImplements
GetPreviewFeatureRequestOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetPreviewFeatureRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetPreviewFeatureRequest.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for project to set. |
| Returns | |
|---|---|
| Type | Description |
GetPreviewFeatureRequest.Builder |
This builder for chaining. |