public static enum SinkInfo.Destination.Type extends Enum<SinkInfo.Destination.Type>
Enum Constant and Description |
---|
BUCKET
Specifies a Google Cloud Storage bucket as destination for the sink.
|
DATASET
Specifies a Google Cloud BigQuery dataset as destination for the sink.
|
LOGGING_BUCKET
Specifies a Logging bucket as destination for the sink.
|
TOPIC
Specifies a Google Cloud Pub/Sub topic as destination for the sink.
|
Modifier and Type | Method and Description |
---|---|
static SinkInfo.Destination.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SinkInfo.Destination.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SinkInfo.Destination.Type BUCKET
public static final SinkInfo.Destination.Type DATASET
public static final SinkInfo.Destination.Type TOPIC
public static final SinkInfo.Destination.Type LOGGING_BUCKET
public static SinkInfo.Destination.Type[] values()
for (SinkInfo.Destination.Type c : SinkInfo.Destination.Type.values()) System.out.println(c);
public static SinkInfo.Destination.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2023 Google LLC. All rights reserved.