Class GetDataAccessScopeRequest.Builder (0.21.0)

public static final class GetDataAccessScopeRequest.Builder extends GeneratedMessage.Builder<GetDataAccessScopeRequest.Builder> implements GetDataAccessScopeRequestOrBuilder

Request message to retrieve a data access scope.

Protobuf type google.cloud.chronicle.v1.GetDataAccessScopeRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetDataAccessScopeRequest build()
Returns
Type Description
GetDataAccessScopeRequest

buildPartial()

public GetDataAccessScopeRequest buildPartial()
Returns
Type Description
GetDataAccessScopeRequest

clear()

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

clearName()

public GetDataAccessScopeRequest.Builder clearName()

Required. The ID of the data access scope to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{data_access_scope}

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

Returns
Type Description
GetDataAccessScopeRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetDataAccessScopeRequest getDefaultInstanceForType()
Returns
Type Description
GetDataAccessScopeRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The ID of the data access scope to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{data_access_scope}

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The ID of the data access scope to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{data_access_scope}

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public GetDataAccessScopeRequest.Builder setName(String value)

Required. The ID of the data access scope to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{data_access_scope}

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetDataAccessScopeRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetDataAccessScopeRequest.Builder setNameBytes(ByteString value)

Required. The ID of the data access scope to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{data_access_scope}

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

This builder for chaining.