public static final class Execution.ExternalDataSources.Builder extends GeneratedMessage.Builder<Execution.ExternalDataSources.Builder> implements Execution.ExternalDataSourcesOrBuilderExternal data sources for an execution.
Protobuf type google.cloud.workloadmanager.v1.Execution.ExternalDataSources
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Execution.ExternalDataSources.BuilderImplements
Execution.ExternalDataSourcesOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Execution.ExternalDataSources build()| Returns | |
|---|---|
| Type | Description |
Execution.ExternalDataSources |
|
buildPartial()
public Execution.ExternalDataSources buildPartial()| Returns | |
|---|---|
| Type | Description |
Execution.ExternalDataSources |
|
clear()
public Execution.ExternalDataSources.Builder clear()| Returns | |
|---|---|
| Type | Description |
Execution.ExternalDataSources.Builder |
|
clearAssetType()
public Execution.ExternalDataSources.Builder clearAssetType()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 |
Execution.ExternalDataSources.Builder |
This builder for chaining. |
clearName()
public Execution.ExternalDataSources.Builder clearName()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 |
Execution.ExternalDataSources.Builder |
This builder for chaining. |
clearType()
public Execution.ExternalDataSources.Builder clearType()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.Builder |
This builder for chaining. |
clearUri()
public Execution.ExternalDataSources.Builder clearUri()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 |
Execution.ExternalDataSources.Builder |
This builder for chaining. |
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Execution.ExternalDataSources other)
public Execution.ExternalDataSources.Builder mergeFrom(Execution.ExternalDataSources other)| Parameter | |
|---|---|
| Name | Description |
other |
Execution.ExternalDataSources |
| Returns | |
|---|---|
| Type | Description |
Execution.ExternalDataSources.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Execution.ExternalDataSources.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Execution.ExternalDataSources.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Execution.ExternalDataSources.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Execution.ExternalDataSources.Builder |
|
setAssetType(String value)
public Execution.ExternalDataSources.Builder setAssetType(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe assetType to set. |
| Returns | |
|---|---|
| Type | Description |
Execution.ExternalDataSources.Builder |
This builder for chaining. |
setAssetTypeBytes(ByteString value)
public Execution.ExternalDataSources.Builder setAssetTypeBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for assetType to set. |
| Returns | |
|---|---|
| Type | Description |
Execution.ExternalDataSources.Builder |
This builder for chaining. |
setName(String value)
public Execution.ExternalDataSources.Builder setName(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Execution.ExternalDataSources.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Execution.ExternalDataSources.Builder setNameBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Execution.ExternalDataSources.Builder |
This builder for chaining. |
setType(Execution.ExternalDataSources.Type value)
public Execution.ExternalDataSources.Builder setType(Execution.ExternalDataSources.Type value)Required. Type of external data source.
.google.cloud.workloadmanager.v1.Execution.ExternalDataSources.Type type = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Execution.ExternalDataSources.TypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
Execution.ExternalDataSources.Builder |
This builder for chaining. |
setTypeValue(int value)
public Execution.ExternalDataSources.Builder setTypeValue(int value)Required. Type of external data source.
.google.cloud.workloadmanager.v1.Execution.ExternalDataSources.Type type = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
Execution.ExternalDataSources.Builder |
This builder for chaining. |
setUri(String value)
public Execution.ExternalDataSources.Builder setUri(String value)Required. URI of external data source. example of bq table {project_ID}.{dataset_ID}.{table_ID}.
string uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe uri to set. |
| Returns | |
|---|---|
| Type | Description |
Execution.ExternalDataSources.Builder |
This builder for chaining. |
setUriBytes(ByteString value)
public Execution.ExternalDataSources.Builder setUriBytes(ByteString value)Required. URI of external data source. example of bq table {project_ID}.{dataset_ID}.{table_ID}.
string uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for uri to set. |
| Returns | |
|---|---|
| Type | Description |
Execution.ExternalDataSources.Builder |
This builder for chaining. |