Class Execution.ExternalDataSources (0.1.0)

public static final class Execution.ExternalDataSources extends GeneratedMessage implements Execution.ExternalDataSourcesOrBuilder

External data sources for an execution.

Protobuf type google.cloud.workloadmanager.v1.Execution.ExternalDataSources

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > Execution.ExternalDataSources

Static Fields

ASSET_TYPE_FIELD_NUMBER

public static final int ASSET_TYPE_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Execution.ExternalDataSources getDefaultInstance()
Returns
Type Description
Execution.ExternalDataSources

getDescriptor()

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

newBuilder()

public static Execution.ExternalDataSources.Builder newBuilder()
Returns
Type Description
Execution.ExternalDataSources.Builder

newBuilder(Execution.ExternalDataSources prototype)

public static Execution.ExternalDataSources.Builder newBuilder(Execution.ExternalDataSources prototype)
Parameter
Name Description
prototype Execution.ExternalDataSources
Returns
Type Description
Execution.ExternalDataSources.Builder

parseDelimitedFrom(InputStream input)

public static Execution.ExternalDataSources parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Execution.ExternalDataSources
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Execution.ExternalDataSources parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Execution.ExternalDataSources
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Execution.ExternalDataSources parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Execution.ExternalDataSources
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Execution.ExternalDataSources parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Execution.ExternalDataSources
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Execution.ExternalDataSources parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Execution.ExternalDataSources
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Execution.ExternalDataSources parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Execution.ExternalDataSources
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Execution.ExternalDataSources parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Execution.ExternalDataSources
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Execution.ExternalDataSources parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Execution.ExternalDataSources
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Execution.ExternalDataSources parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Execution.ExternalDataSources
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Execution.ExternalDataSources parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Execution.ExternalDataSources
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Execution.ExternalDataSources parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Execution.ExternalDataSources
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Execution.ExternalDataSources parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Execution.ExternalDataSources
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Execution.ExternalDataSources> parser()
Returns
Type Description
Parser<ExternalDataSources>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAssetType()

public String getAssetType()

Required. The asset type of the external data source. This can be a supported Cloud Asset Inventory asset type (see https://cloud.google.com/asset-inventory/docs/supported-asset-types) to override the default asset type, or it can be a custom type defined by the user.

string asset_type = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The assetType.

getAssetTypeBytes()

public ByteString getAssetTypeBytes()

Required. The asset type of the external data source. This can be a supported Cloud Asset Inventory asset type (see https://cloud.google.com/asset-inventory/docs/supported-asset-types) to override the default asset type, or it can be a custom type defined by the user.

string asset_type = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for assetType.

getDefaultInstanceForType()

public Execution.ExternalDataSources getDefaultInstanceForType()
Returns
Type Description
Execution.ExternalDataSources

getName()

public String getName()

Optional. Name of external data source. The name will be used inside the rego/sql to refer the external data.

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Optional. Name of external data source. The name will be used inside the rego/sql to refer the external data.

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<Execution.ExternalDataSources> getParserForType()
Returns
Type Description
Parser<ExternalDataSources>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getType()

public Execution.ExternalDataSources.Type getType()

Required. Type of external data source.

.google.cloud.workloadmanager.v1.Execution.ExternalDataSources.Type type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Execution.ExternalDataSources.Type

The type.

getTypeValue()

public int getTypeValue()

Required. Type of external data source.

.google.cloud.workloadmanager.v1.Execution.ExternalDataSources.Type type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for type.

getUri()

public String getUri()

Required. URI of external data source. example of bq table {project_ID}.{dataset_ID}.{table_ID}.

string uri = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

Required. URI of external data source. example of bq table {project_ID}.{dataset_ID}.{table_ID}.

string uri = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for uri.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Execution.ExternalDataSources.Builder newBuilderForType()
Returns
Type Description
Execution.ExternalDataSources.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected Execution.ExternalDataSources.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Execution.ExternalDataSources.Builder
Overrides

toBuilder()

public Execution.ExternalDataSources.Builder toBuilder()
Returns
Type Description
Execution.ExternalDataSources.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException