public static final class CapacityHistoryAdviceRequest.Builder extends GeneratedMessage.Builder<CapacityHistoryAdviceRequest.Builder> implements CapacityHistoryAdviceRequestOrBuilderA request message for Advice.CapacityHistory. See the method description for details.
Protobuf type google.cloud.compute.v1.CapacityHistoryAdviceRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CapacityHistoryAdviceRequest.BuilderImplements
CapacityHistoryAdviceRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CapacityHistoryAdviceRequest build()| Returns | |
|---|---|
| Type | Description |
CapacityHistoryAdviceRequest |
|
buildPartial()
public CapacityHistoryAdviceRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CapacityHistoryAdviceRequest |
|
clear()
public CapacityHistoryAdviceRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CapacityHistoryAdviceRequest.Builder |
|
clearCapacityHistoryRequestResource()
public CapacityHistoryAdviceRequest.Builder clearCapacityHistoryRequestResource()The body resource for this request
.google.cloud.compute.v1.CapacityHistoryRequest capacity_history_request_resource = 182030318 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryAdviceRequest.Builder |
|
clearProject()
public CapacityHistoryAdviceRequest.Builder clearProject()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryAdviceRequest.Builder |
This builder for chaining. |
clearRegion()
public CapacityHistoryAdviceRequest.Builder clearRegion()Name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryAdviceRequest.Builder |
This builder for chaining. |
getCapacityHistoryRequestResource()
public CapacityHistoryRequest getCapacityHistoryRequestResource()The body resource for this request
.google.cloud.compute.v1.CapacityHistoryRequest capacity_history_request_resource = 182030318 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryRequest |
The capacityHistoryRequestResource. |
getCapacityHistoryRequestResourceBuilder()
public CapacityHistoryRequest.Builder getCapacityHistoryRequestResourceBuilder()The body resource for this request
.google.cloud.compute.v1.CapacityHistoryRequest capacity_history_request_resource = 182030318 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryRequest.Builder |
|
getCapacityHistoryRequestResourceOrBuilder()
public CapacityHistoryRequestOrBuilder getCapacityHistoryRequestResourceOrBuilder()The body resource for this request
.google.cloud.compute.v1.CapacityHistoryRequest capacity_history_request_resource = 182030318 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryRequestOrBuilder |
|
getDefaultInstanceForType()
public CapacityHistoryAdviceRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CapacityHistoryAdviceRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
hasCapacityHistoryRequestResource()
public boolean hasCapacityHistoryRequestResource()The body resource for this request
.google.cloud.compute.v1.CapacityHistoryRequest capacity_history_request_resource = 182030318 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the capacityHistoryRequestResource field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCapacityHistoryRequestResource(CapacityHistoryRequest value)
public CapacityHistoryAdviceRequest.Builder mergeCapacityHistoryRequestResource(CapacityHistoryRequest value)The body resource for this request
.google.cloud.compute.v1.CapacityHistoryRequest capacity_history_request_resource = 182030318 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
CapacityHistoryRequest |
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryAdviceRequest.Builder |
|
mergeFrom(CapacityHistoryAdviceRequest other)
public CapacityHistoryAdviceRequest.Builder mergeFrom(CapacityHistoryAdviceRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CapacityHistoryAdviceRequest |
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryAdviceRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CapacityHistoryAdviceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryAdviceRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CapacityHistoryAdviceRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryAdviceRequest.Builder |
|
setCapacityHistoryRequestResource(CapacityHistoryRequest value)
public CapacityHistoryAdviceRequest.Builder setCapacityHistoryRequestResource(CapacityHistoryRequest value)The body resource for this request
.google.cloud.compute.v1.CapacityHistoryRequest capacity_history_request_resource = 182030318 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
CapacityHistoryRequest |
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryAdviceRequest.Builder |
|
setCapacityHistoryRequestResource(CapacityHistoryRequest.Builder builderForValue)
public CapacityHistoryAdviceRequest.Builder setCapacityHistoryRequestResource(CapacityHistoryRequest.Builder builderForValue)The body resource for this request
.google.cloud.compute.v1.CapacityHistoryRequest capacity_history_request_resource = 182030318 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CapacityHistoryRequest.Builder |
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryAdviceRequest.Builder |
|
setProject(String value)
public CapacityHistoryAdviceRequest.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 |
CapacityHistoryAdviceRequest.Builder |
This builder for chaining. |
setProjectBytes(ByteString value)
public CapacityHistoryAdviceRequest.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 |
CapacityHistoryAdviceRequest.Builder |
This builder for chaining. |
setRegion(String value)
public CapacityHistoryAdviceRequest.Builder setRegion(String value)Name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe region to set. |
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryAdviceRequest.Builder |
This builder for chaining. |
setRegionBytes(ByteString value)
public CapacityHistoryAdviceRequest.Builder setRegionBytes(ByteString value)Name of the region for this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for region to set. |
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryAdviceRequest.Builder |
This builder for chaining. |