Class GetListingRequest.Builder (0.2.1)

public static final class GetListingRequest.Builder extends GeneratedMessageV3.Builder<GetListingRequest.Builder> implements GetListingRequestOrBuilder

Message for getting a Listing.

Protobuf type google.cloud.bigquery.dataexchange.v1beta1.GetListingRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetListingRequest build()
Returns
TypeDescription
GetListingRequest

buildPartial()

public GetListingRequest buildPartial()
Returns
TypeDescription
GetListingRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GetListingRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetListingRequest.Builder
Overrides

clearName()

public GetListingRequest.Builder clearName()

Required. The resource name of the listing. e.g. projects/myproject/locations/US/dataExchanges/123/listings/456.

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

Returns
TypeDescription
GetListingRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetListingRequest getDefaultInstanceForType()
Returns
TypeDescription
GetListingRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The resource name of the listing. e.g. projects/myproject/locations/US/dataExchanges/123/listings/456.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the listing. e.g. projects/myproject/locations/US/dataExchanges/123/listings/456.

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

public GetListingRequest.Builder mergeFrom(GetListingRequest other)
Parameter
NameDescription
otherGetListingRequest
Returns
TypeDescription
GetListingRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetListingRequest.Builder setName(String value)

Required. The resource name of the listing. e.g. projects/myproject/locations/US/dataExchanges/123/listings/456.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetListingRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetListingRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the listing. e.g. projects/myproject/locations/US/dataExchanges/123/listings/456.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetListingRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetListingRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetListingRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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