Class DeleteServiceLevelObjectiveRequest.Builder (3.44.0)

public static final class DeleteServiceLevelObjectiveRequest.Builder extends GeneratedMessageV3.Builder<DeleteServiceLevelObjectiveRequest.Builder> implements DeleteServiceLevelObjectiveRequestOrBuilder

The DeleteServiceLevelObjective request.

Protobuf type google.monitoring.v3.DeleteServiceLevelObjectiveRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteServiceLevelObjectiveRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeleteServiceLevelObjectiveRequest.Builder
Overrides

build()

public DeleteServiceLevelObjectiveRequest build()
Returns
Type Description
DeleteServiceLevelObjectiveRequest

buildPartial()

public DeleteServiceLevelObjectiveRequest buildPartial()
Returns
Type Description
DeleteServiceLevelObjectiveRequest

clear()

public DeleteServiceLevelObjectiveRequest.Builder clear()
Returns
Type Description
DeleteServiceLevelObjectiveRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DeleteServiceLevelObjectiveRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DeleteServiceLevelObjectiveRequest.Builder
Overrides

clearName()

public DeleteServiceLevelObjectiveRequest.Builder clearName()

Required. Resource name of the ServiceLevelObjective to delete. The format is:

 projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]

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

Returns
Type Description
DeleteServiceLevelObjectiveRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteServiceLevelObjectiveRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DeleteServiceLevelObjectiveRequest.Builder
Overrides

clone()

public DeleteServiceLevelObjectiveRequest.Builder clone()
Returns
Type Description
DeleteServiceLevelObjectiveRequest.Builder
Overrides

getDefaultInstanceForType()

public DeleteServiceLevelObjectiveRequest getDefaultInstanceForType()
Returns
Type Description
DeleteServiceLevelObjectiveRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. Resource name of the ServiceLevelObjective to delete. The format is:

 projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Resource name of the ServiceLevelObjective to delete. The format is:

 projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeleteServiceLevelObjectiveRequest other)

public DeleteServiceLevelObjectiveRequest.Builder mergeFrom(DeleteServiceLevelObjectiveRequest other)
Parameter
Name Description
other DeleteServiceLevelObjectiveRequest
Returns
Type Description
DeleteServiceLevelObjectiveRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteServiceLevelObjectiveRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeleteServiceLevelObjectiveRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DeleteServiceLevelObjectiveRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DeleteServiceLevelObjectiveRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteServiceLevelObjectiveRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeleteServiceLevelObjectiveRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteServiceLevelObjectiveRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeleteServiceLevelObjectiveRequest.Builder
Overrides

setName(String value)

public DeleteServiceLevelObjectiveRequest.Builder setName(String value)

Required. Resource name of the ServiceLevelObjective to delete. The format is:

 projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeleteServiceLevelObjectiveRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteServiceLevelObjectiveRequest.Builder setNameBytes(ByteString value)

Required. Resource name of the ServiceLevelObjective to delete. The format is:

 projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DeleteServiceLevelObjectiveRequest.Builder

This builder for chaining.

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

public DeleteServiceLevelObjectiveRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DeleteServiceLevelObjectiveRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteServiceLevelObjectiveRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeleteServiceLevelObjectiveRequest.Builder
Overrides