public static final class GetVersionHostRequest.Builder extends GeneratedMessage.Builder<GetVersionHostRequest.Builder> implements GetVersionHostRequestOrBuilderA request message for Hosts.GetVersion. See the method description for details.
Protobuf type google.cloud.compute.v1.GetVersionHostRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetVersionHostRequest.BuilderImplements
GetVersionHostRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetVersionHostRequest build()| Returns | |
|---|---|
| Type | Description |
GetVersionHostRequest |
|
buildPartial()
public GetVersionHostRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetVersionHostRequest |
|
clear()
public GetVersionHostRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetVersionHostRequest.Builder |
|
clearAssociation()
public GetVersionHostRequest.Builder clearAssociation()The parent resource association for the Host. This field specifies the hierarchical context (e.g., reservation, block, sub-block) when accessing the host.
string association = 449371265 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetVersionHostRequest.Builder |
This builder for chaining. |
clearHost()
public GetVersionHostRequest.Builder clearHost()The name of the host, formatted as RFC1035 or a resource ID number.
string host = 3208616 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetVersionHostRequest.Builder |
This builder for chaining. |
clearHostsGetVersionRequestResource()
public GetVersionHostRequest.Builder clearHostsGetVersionRequestResource()The body resource for this request
.google.cloud.compute.v1.HostsGetVersionRequest hosts_get_version_request_resource = 273373442 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GetVersionHostRequest.Builder |
|
clearProject()
public GetVersionHostRequest.Builder clearProject()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];
| Returns | |
|---|---|
| Type | Description |
GetVersionHostRequest.Builder |
This builder for chaining. |
clearRequestId()
public GetVersionHostRequest.Builder clearRequestId()An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
optional string request_id = 37109963;
| Returns | |
|---|---|
| Type | Description |
GetVersionHostRequest.Builder |
This builder for chaining. |
clearZone()
public GetVersionHostRequest.Builder clearZone()Name of the zone for this request. Zone name should conform to RFC1035.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"];
| Returns | |
|---|---|
| Type | Description |
GetVersionHostRequest.Builder |
This builder for chaining. |
getAssociation()
public String getAssociation()The parent resource association for the Host. This field specifies the hierarchical context (e.g., reservation, block, sub-block) when accessing the host.
string association = 449371265 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The association. |
getAssociationBytes()
public ByteString getAssociationBytes()The parent resource association for the Host. This field specifies the hierarchical context (e.g., reservation, block, sub-block) when accessing the host.
string association = 449371265 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for association. |
getDefaultInstanceForType()
public GetVersionHostRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetVersionHostRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getHost()
public String getHost()The name of the host, formatted as RFC1035 or a resource ID number.
string host = 3208616 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The host. |
getHostBytes()
public ByteString getHostBytes()The name of the host, formatted as RFC1035 or a resource ID number.
string host = 3208616 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for host. |
getHostsGetVersionRequestResource()
public HostsGetVersionRequest getHostsGetVersionRequestResource()The body resource for this request
.google.cloud.compute.v1.HostsGetVersionRequest hosts_get_version_request_resource = 273373442 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
HostsGetVersionRequest |
The hostsGetVersionRequestResource. |
getHostsGetVersionRequestResourceBuilder()
public HostsGetVersionRequest.Builder getHostsGetVersionRequestResourceBuilder()The body resource for this request
.google.cloud.compute.v1.HostsGetVersionRequest hosts_get_version_request_resource = 273373442 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
HostsGetVersionRequest.Builder |
|
getHostsGetVersionRequestResourceOrBuilder()
public HostsGetVersionRequestOrBuilder getHostsGetVersionRequestResourceOrBuilder()The body resource for this request
.google.cloud.compute.v1.HostsGetVersionRequest hosts_get_version_request_resource = 273373442 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
HostsGetVersionRequestOrBuilder |
|
getProject()
public String getProject()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];
| Returns | |
|---|---|
| Type | Description |
String |
The project. |
getProjectBytes()
public ByteString getProjectBytes()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for project. |
getRequestId()
public String getRequestId()An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
optional string request_id = 37109963;
| Returns | |
|---|---|
| Type | Description |
String |
The requestId. |
getRequestIdBytes()
public ByteString getRequestIdBytes()An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
optional string request_id = 37109963;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for requestId. |
getZone()
public String getZone()Name of the zone for this request. Zone name should conform to RFC1035.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"];
| Returns | |
|---|---|
| Type | Description |
String |
The zone. |
getZoneBytes()
public ByteString getZoneBytes()Name of the zone for this request. Zone name should conform to RFC1035.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for zone. |
hasHostsGetVersionRequestResource()
public boolean hasHostsGetVersionRequestResource()The body resource for this request
.google.cloud.compute.v1.HostsGetVersionRequest hosts_get_version_request_resource = 273373442 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the hostsGetVersionRequestResource field is set. |
hasRequestId()
public boolean hasRequestId()An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
optional string request_id = 37109963;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the requestId field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetVersionHostRequest other)
public GetVersionHostRequest.Builder mergeFrom(GetVersionHostRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetVersionHostRequest |
| Returns | |
|---|---|
| Type | Description |
GetVersionHostRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetVersionHostRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetVersionHostRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetVersionHostRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetVersionHostRequest.Builder |
|
mergeHostsGetVersionRequestResource(HostsGetVersionRequest value)
public GetVersionHostRequest.Builder mergeHostsGetVersionRequestResource(HostsGetVersionRequest value)The body resource for this request
.google.cloud.compute.v1.HostsGetVersionRequest hosts_get_version_request_resource = 273373442 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
HostsGetVersionRequest |
| Returns | |
|---|---|
| Type | Description |
GetVersionHostRequest.Builder |
|
setAssociation(String value)
public GetVersionHostRequest.Builder setAssociation(String value)The parent resource association for the Host. This field specifies the hierarchical context (e.g., reservation, block, sub-block) when accessing the host.
string association = 449371265 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe association to set. |
| Returns | |
|---|---|
| Type | Description |
GetVersionHostRequest.Builder |
This builder for chaining. |
setAssociationBytes(ByteString value)
public GetVersionHostRequest.Builder setAssociationBytes(ByteString value)The parent resource association for the Host. This field specifies the hierarchical context (e.g., reservation, block, sub-block) when accessing the host.
string association = 449371265 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for association to set. |
| Returns | |
|---|---|
| Type | Description |
GetVersionHostRequest.Builder |
This builder for chaining. |
setHost(String value)
public GetVersionHostRequest.Builder setHost(String value)The name of the host, formatted as RFC1035 or a resource ID number.
string host = 3208616 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe host to set. |
| Returns | |
|---|---|
| Type | Description |
GetVersionHostRequest.Builder |
This builder for chaining. |
setHostBytes(ByteString value)
public GetVersionHostRequest.Builder setHostBytes(ByteString value)The name of the host, formatted as RFC1035 or a resource ID number.
string host = 3208616 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for host to set. |
| Returns | |
|---|---|
| Type | Description |
GetVersionHostRequest.Builder |
This builder for chaining. |
setHostsGetVersionRequestResource(HostsGetVersionRequest value)
public GetVersionHostRequest.Builder setHostsGetVersionRequestResource(HostsGetVersionRequest value)The body resource for this request
.google.cloud.compute.v1.HostsGetVersionRequest hosts_get_version_request_resource = 273373442 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
HostsGetVersionRequest |
| Returns | |
|---|---|
| Type | Description |
GetVersionHostRequest.Builder |
|
setHostsGetVersionRequestResource(HostsGetVersionRequest.Builder builderForValue)
public GetVersionHostRequest.Builder setHostsGetVersionRequestResource(HostsGetVersionRequest.Builder builderForValue)The body resource for this request
.google.cloud.compute.v1.HostsGetVersionRequest hosts_get_version_request_resource = 273373442 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
HostsGetVersionRequest.Builder |
| Returns | |
|---|---|
| Type | Description |
GetVersionHostRequest.Builder |
|
setProject(String value)
public GetVersionHostRequest.Builder setProject(String value)Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe project to set. |
| Returns | |
|---|---|
| Type | Description |
GetVersionHostRequest.Builder |
This builder for chaining. |
setProjectBytes(ByteString value)
public GetVersionHostRequest.Builder setProjectBytes(ByteString value)Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for project to set. |
| Returns | |
|---|---|
| Type | Description |
GetVersionHostRequest.Builder |
This builder for chaining. |
setRequestId(String value)
public GetVersionHostRequest.Builder setRequestId(String value)An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
optional string request_id = 37109963;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe requestId to set. |
| Returns | |
|---|---|
| Type | Description |
GetVersionHostRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
public GetVersionHostRequest.Builder setRequestIdBytes(ByteString value)An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
optional string request_id = 37109963;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for requestId to set. |
| Returns | |
|---|---|
| Type | Description |
GetVersionHostRequest.Builder |
This builder for chaining. |
setZone(String value)
public GetVersionHostRequest.Builder setZone(String value)Name of the zone for this request. Zone name should conform to RFC1035.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe zone to set. |
| Returns | |
|---|---|
| Type | Description |
GetVersionHostRequest.Builder |
This builder for chaining. |
setZoneBytes(ByteString value)
public GetVersionHostRequest.Builder setZoneBytes(ByteString value)Name of the zone for this request. Zone name should conform to RFC1035.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for zone to set. |
| Returns | |
|---|---|
| Type | Description |
GetVersionHostRequest.Builder |
This builder for chaining. |