public static final class GetHealthCheckRequest.Builder extends GeneratedMessageV3.Builder<GetHealthCheckRequest.Builder> implements GetHealthCheckRequestOrBuilder
A request message for HealthChecks.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetHealthCheckRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetHealthCheckRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GetHealthCheckRequest build()
Returns
buildPartial()
public GetHealthCheckRequest buildPartial()
Returns
clear()
public GetHealthCheckRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public GetHealthCheckRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearHealthCheck()
public GetHealthCheckRequest.Builder clearHealthCheck()
Name of the HealthCheck resource to return.
string health_check = 308876645 [(.google.api.field_behavior) = REQUIRED];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public GetHealthCheckRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearProject()
public GetHealthCheckRequest.Builder clearProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public GetHealthCheckRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public GetHealthCheckRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getHealthCheck()
public String getHealthCheck()
Name of the HealthCheck resource to return.
string health_check = 308876645 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The healthCheck.
|
getHealthCheckBytes()
public ByteString getHealthCheckBytes()
Name of the HealthCheck resource to return.
string health_check = 308876645 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
ByteString | The bytes for healthCheck.
|
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GetHealthCheckRequest other)
public GetHealthCheckRequest.Builder mergeFrom(GetHealthCheckRequest other)
Parameter
Returns
public GetHealthCheckRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GetHealthCheckRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetHealthCheckRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GetHealthCheckRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setHealthCheck(String value)
public GetHealthCheckRequest.Builder setHealthCheck(String value)
Name of the HealthCheck resource to return.
string health_check = 308876645 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The healthCheck to set.
|
Returns
setHealthCheckBytes(ByteString value)
public GetHealthCheckRequest.Builder setHealthCheckBytes(ByteString value)
Name of the HealthCheck resource to return.
string health_check = 308876645 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for healthCheck to set.
|
Returns
setProject(String value)
public GetHealthCheckRequest.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
setProjectBytes(ByteString value)
public GetHealthCheckRequest.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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetHealthCheckRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetHealthCheckRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides