Class DeleteScopeRequest.Builder (1.85.0)

public static final class DeleteScopeRequest.Builder extends GeneratedMessage.Builder<DeleteScopeRequest.Builder> implements DeleteScopeRequestOrBuilder

Request to delete a Scope.

Protobuf type google.cloud.gkehub.v1.DeleteScopeRequest

Static Methods

getDescriptor()

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

Methods

build()

public DeleteScopeRequest build()
Returns
Type Description
DeleteScopeRequest

buildPartial()

public DeleteScopeRequest buildPartial()
Returns
Type Description
DeleteScopeRequest

clear()

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

clearName()

public DeleteScopeRequest.Builder clearName()

Required. The Scope resource name in the format projects/*/locations/*/scopes/*.

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

Returns
Type Description
DeleteScopeRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public DeleteScopeRequest getDefaultInstanceForType()
Returns
Type Description
DeleteScopeRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The Scope resource name in the format projects/*/locations/*/scopes/*.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The Scope resource name in the format projects/*/locations/*/scopes/*.

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(DeleteScopeRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public DeleteScopeRequest.Builder setName(String value)

Required. The Scope resource name in the format projects/*/locations/*/scopes/*.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeleteScopeRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteScopeRequest.Builder setNameBytes(ByteString value)

Required. The Scope resource name in the format projects/*/locations/*/scopes/*.

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
DeleteScopeRequest.Builder

This builder for chaining.