Class GetReferenceListRequest.Builder (0.21.0)

public static final class GetReferenceListRequest.Builder extends GeneratedMessage.Builder<GetReferenceListRequest.Builder> implements GetReferenceListRequestOrBuilder

A request to get details about a reference list.

Protobuf type google.cloud.chronicle.v1.GetReferenceListRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetReferenceListRequest build()
Returns
Type Description
GetReferenceListRequest

buildPartial()

public GetReferenceListRequest buildPartial()
Returns
Type Description
GetReferenceListRequest

clear()

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

clearName()

public GetReferenceListRequest.Builder clearName()

Required. The resource name of the reference list to retrieve. Format: projects/{project}/locations/{locations}/instances/{instance}/referenceLists/{reference_list}

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

Returns
Type Description
GetReferenceListRequest.Builder

This builder for chaining.

clearView()

public GetReferenceListRequest.Builder clearView()

How much of the ReferenceList to view. Defaults to REFERENCE_LIST_VIEW_FULL.

.google.cloud.chronicle.v1.ReferenceListView view = 2;

Returns
Type Description
GetReferenceListRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetReferenceListRequest getDefaultInstanceForType()
Returns
Type Description
GetReferenceListRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The resource name of the reference list to retrieve. Format: projects/{project}/locations/{locations}/instances/{instance}/referenceLists/{reference_list}

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the reference list to retrieve. Format: projects/{project}/locations/{locations}/instances/{instance}/referenceLists/{reference_list}

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

Returns
Type Description
ByteString

The bytes for name.

getView()

public ReferenceListView getView()

How much of the ReferenceList to view. Defaults to REFERENCE_LIST_VIEW_FULL.

.google.cloud.chronicle.v1.ReferenceListView view = 2;

Returns
Type Description
ReferenceListView

The view.

getViewValue()

public int getViewValue()

How much of the ReferenceList to view. Defaults to REFERENCE_LIST_VIEW_FULL.

.google.cloud.chronicle.v1.ReferenceListView view = 2;

Returns
Type Description
int

The enum numeric value on the wire for view.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetReferenceListRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public GetReferenceListRequest.Builder setName(String value)

Required. The resource name of the reference list to retrieve. Format: projects/{project}/locations/{locations}/instances/{instance}/referenceLists/{reference_list}

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetReferenceListRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetReferenceListRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the reference list to retrieve. Format: projects/{project}/locations/{locations}/instances/{instance}/referenceLists/{reference_list}

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

This builder for chaining.

setView(ReferenceListView value)

public GetReferenceListRequest.Builder setView(ReferenceListView value)

How much of the ReferenceList to view. Defaults to REFERENCE_LIST_VIEW_FULL.

.google.cloud.chronicle.v1.ReferenceListView view = 2;

Parameter
Name Description
value ReferenceListView

The view to set.

Returns
Type Description
GetReferenceListRequest.Builder

This builder for chaining.

setViewValue(int value)

public GetReferenceListRequest.Builder setViewValue(int value)

How much of the ReferenceList to view. Defaults to REFERENCE_LIST_VIEW_FULL.

.google.cloud.chronicle.v1.ReferenceListView view = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for view to set.

Returns
Type Description
GetReferenceListRequest.Builder

This builder for chaining.