Class DeleteServiceLevelObjectiveRequest.Builder (3.84.0)

public static final class DeleteServiceLevelObjectiveRequest.Builder extends GeneratedMessage.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

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

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.

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 GeneratedMessage.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

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.