Class GetUptimeCheckConfigRequest.Builder (3.8.0)

public static final class GetUptimeCheckConfigRequest.Builder extends GeneratedMessageV3.Builder<GetUptimeCheckConfigRequest.Builder> implements GetUptimeCheckConfigRequestOrBuilder

The protocol for the GetUptimeCheckConfig request.

Protobuf type google.monitoring.v3.GetUptimeCheckConfigRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetUptimeCheckConfigRequest build()
Returns
TypeDescription
GetUptimeCheckConfigRequest

buildPartial()

public GetUptimeCheckConfigRequest buildPartial()
Returns
TypeDescription
GetUptimeCheckConfigRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetUptimeCheckConfigRequest.Builder clearName()

Required. The Uptime check configuration to retrieve. The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]

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

Returns
TypeDescription
GetUptimeCheckConfigRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetUptimeCheckConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
GetUptimeCheckConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The Uptime check configuration to retrieve. The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The Uptime check configuration to retrieve. The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_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(GetUptimeCheckConfigRequest other)

public GetUptimeCheckConfigRequest.Builder mergeFrom(GetUptimeCheckConfigRequest other)
Parameter
NameDescription
otherGetUptimeCheckConfigRequest
Returns
TypeDescription
GetUptimeCheckConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetUptimeCheckConfigRequest.Builder setName(String value)

Required. The Uptime check configuration to retrieve. The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetUptimeCheckConfigRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetUptimeCheckConfigRequest.Builder setNameBytes(ByteString value)

Required. The Uptime check configuration to retrieve. The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID]

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetUptimeCheckConfigRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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