public static final class GetProjectViewRequest.Builder extends GeneratedMessage.Builder<GetProjectViewRequest.Builder> implements GetProjectViewRequestOrBuilderA request message for ProjectViews.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetProjectViewRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetProjectViewRequest.BuilderImplements
GetProjectViewRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetProjectViewRequest build()| Returns | |
|---|---|
| Type | Description |
GetProjectViewRequest |
|
buildPartial()
public GetProjectViewRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetProjectViewRequest |
|
clear()
public GetProjectViewRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetProjectViewRequest.Builder |
|
clearProject()
public GetProjectViewRequest.Builder clearProject()Required. Project ID for this request. This is part of the URL path.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetProjectViewRequest.Builder |
This builder for chaining. |
clearRegion()
public GetProjectViewRequest.Builder clearRegion()Required. Name of the region for this request. This is part of the URL path.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetProjectViewRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GetProjectViewRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetProjectViewRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getProject()
public String getProject()Required. Project ID for this request. This is part of the URL path.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The project. |
getProjectBytes()
public ByteString getProjectBytes()Required. Project ID for this request. This is part of the URL path.
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. This is part of the URL path.
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. This is part of the URL path.
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetProjectViewRequest other)
public GetProjectViewRequest.Builder mergeFrom(GetProjectViewRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetProjectViewRequest |
| Returns | |
|---|---|
| Type | Description |
GetProjectViewRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetProjectViewRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetProjectViewRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetProjectViewRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetProjectViewRequest.Builder |
|
setProject(String value)
public GetProjectViewRequest.Builder setProject(String value)Required. Project ID for this request. This is part of the URL path.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe project to set. |
| Returns | |
|---|---|
| Type | Description |
GetProjectViewRequest.Builder |
This builder for chaining. |
setProjectBytes(ByteString value)
public GetProjectViewRequest.Builder setProjectBytes(ByteString value)Required. Project ID for this request. This is part of the URL path.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for project to set. |
| Returns | |
|---|---|
| Type | Description |
GetProjectViewRequest.Builder |
This builder for chaining. |
setRegion(String value)
public GetProjectViewRequest.Builder setRegion(String value)Required. Name of the region for this request. This is part of the URL path.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe region to set. |
| Returns | |
|---|---|
| Type | Description |
GetProjectViewRequest.Builder |
This builder for chaining. |
setRegionBytes(ByteString value)
public GetProjectViewRequest.Builder setRegionBytes(ByteString value)Required. Name of the region for this request. This is part of the URL path.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for region to set. |
| Returns | |
|---|---|
| Type | Description |
GetProjectViewRequest.Builder |
This builder for chaining. |