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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetHealthCheckRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GetHealthCheckRequest build()
buildPartial()
public GetHealthCheckRequest buildPartial()
clear()
public GetHealthCheckRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public GetHealthCheckRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearHealthCheck()
public GetHealthCheckRequest.Builder clearHealthCheck()
Name of the HealthCheck resource to return.
string health_check = 308876645 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public GetHealthCheckRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearProject()
public GetHealthCheckRequest.Builder clearProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
clone()
public GetHealthCheckRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public GetHealthCheckRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Type |
Description |
ByteString |
The bytes for project.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(GetHealthCheckRequest other)
public GetHealthCheckRequest.Builder mergeFrom(GetHealthCheckRequest other)
public GetHealthCheckRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GetHealthCheckRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetHealthCheckRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GetHealthCheckRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetHealthCheckRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetHealthCheckRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides