Class GetInstanceHealthRequest.Builder (1.2.0)

public static final class GetInstanceHealthRequest.Builder extends GeneratedMessageV3.Builder<GetInstanceHealthRequest.Builder> implements GetInstanceHealthRequestOrBuilder

Request for checking if a notebook instance is healthy.

Protobuf type google.cloud.notebooks.v1.GetInstanceHealthRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetInstanceHealthRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetInstanceHealthRequest.Builder
Overrides

build()

public GetInstanceHealthRequest build()
Returns
TypeDescription
GetInstanceHealthRequest

buildPartial()

public GetInstanceHealthRequest buildPartial()
Returns
TypeDescription
GetInstanceHealthRequest

clear()

public GetInstanceHealthRequest.Builder clear()
Returns
TypeDescription
GetInstanceHealthRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetInstanceHealthRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetInstanceHealthRequest.Builder
Overrides

clearName()

public GetInstanceHealthRequest.Builder clearName()

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
GetInstanceHealthRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetInstanceHealthRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetInstanceHealthRequest.Builder
Overrides

clone()

public GetInstanceHealthRequest.Builder clone()
Returns
TypeDescription
GetInstanceHealthRequest.Builder
Overrides

getDefaultInstanceForType()

public GetInstanceHealthRequest getDefaultInstanceForType()
Returns
TypeDescription
GetInstanceHealthRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetInstanceHealthRequest other)

public GetInstanceHealthRequest.Builder mergeFrom(GetInstanceHealthRequest other)
Parameter
NameDescription
otherGetInstanceHealthRequest
Returns
TypeDescription
GetInstanceHealthRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetInstanceHealthRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetInstanceHealthRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetInstanceHealthRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetInstanceHealthRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetInstanceHealthRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetInstanceHealthRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetInstanceHealthRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetInstanceHealthRequest.Builder
Overrides

setName(String value)

public GetInstanceHealthRequest.Builder setName(String value)

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetInstanceHealthRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetInstanceHealthRequest.Builder setNameBytes(ByteString value)

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetInstanceHealthRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetInstanceHealthRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetInstanceHealthRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetInstanceHealthRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetInstanceHealthRequest.Builder
Overrides