Class DeleteServiceLevelObjectiveRequest.Builder (3.36.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteServiceLevelObjectiveRequest build()
Returns
TypeDescription
DeleteServiceLevelObjectiveRequest

buildPartial()

public DeleteServiceLevelObjectiveRequest buildPartial()
Returns
TypeDescription
DeleteServiceLevelObjectiveRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public DeleteServiceLevelObjectiveRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
DeleteServiceLevelObjectiveRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteServiceLevelObjectiveRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteServiceLevelObjectiveRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
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(DeleteServiceLevelObjectiveRequest other)

public DeleteServiceLevelObjectiveRequest.Builder mergeFrom(DeleteServiceLevelObjectiveRequest other)
Parameter
NameDescription
otherDeleteServiceLevelObjectiveRequest
Returns
TypeDescription
DeleteServiceLevelObjectiveRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteServiceLevelObjectiveRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeleteServiceLevelObjectiveRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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