public final class SubscribeListingRequest extends GeneratedMessageV3 implements SubscribeListingRequestOrBuilder
Message for subscribing to a listing.
Protobuf type google.cloud.bigquery.analyticshub.v1.SubscribeListingRequest
Static Fields
DESTINATION_DATASET_FIELD_NUMBER
public static final int DESTINATION_DATASET_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SubscribeListingRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SubscribeListingRequest.Builder newBuilder()
Returns
newBuilder(SubscribeListingRequest prototype)
public static SubscribeListingRequest.Builder newBuilder(SubscribeListingRequest prototype)
Parameter
Returns
public static SubscribeListingRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SubscribeListingRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SubscribeListingRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SubscribeListingRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SubscribeListingRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SubscribeListingRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SubscribeListingRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SubscribeListingRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SubscribeListingRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SubscribeListingRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SubscribeListingRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SubscribeListingRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SubscribeListingRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public SubscribeListingRequest getDefaultInstanceForType()
Returns
getDestinationCase()
public SubscribeListingRequest.DestinationCase getDestinationCase()
Returns
getDestinationDataset()
public DestinationDataset getDestinationDataset()
BigQuery destination dataset to create for the subscriber.
.google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 3;
Returns
getDestinationDatasetOrBuilder()
public DestinationDatasetOrBuilder getDestinationDatasetOrBuilder()
BigQuery destination dataset to create for the subscriber.
.google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 3;
Returns
getName()
Required. Resource name of the listing that you want to subscribe to.
e.g. projects/myproject/locations/US/dataExchanges/123/listings/456
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. Resource name of the listing that you want to subscribe to.
e.g. projects/myproject/locations/US/dataExchanges/123/listings/456
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
getParserForType()
public Parser<SubscribeListingRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasDestinationDataset()
public boolean hasDestinationDataset()
BigQuery destination dataset to create for the subscriber.
.google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 3;
Returns
Type | Description |
boolean | Whether the destinationDataset field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SubscribeListingRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SubscribeListingRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SubscribeListingRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions