public static final class Config.Builder extends GeneratedMessage.Builder<Config.Builder> implements ConfigOrBuilderConfig for all repositories in a given project and location.
Protobuf type google.cloud.dataform.v1beta1.Config
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Config.BuilderImplements
ConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Config build()| Returns | |
|---|---|
| Type | Description |
Config |
|
buildPartial()
public Config buildPartial()| Returns | |
|---|---|
| Type | Description |
Config |
|
clear()
public Config.Builder clear()| Returns | |
|---|---|
| Type | Description |
Config.Builder |
|
clearDefaultKmsKeyName()
public Config.Builder clearDefaultKmsKeyName()Optional. The default KMS key that is used if no encryption key is provided when a repository is created.
string default_kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
Config.Builder |
This builder for chaining. |
clearInternalMetadata()
public Config.Builder clearInternalMetadata()Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
optional string internal_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Config.Builder |
This builder for chaining. |
clearName()
public Config.Builder clearName()Identifier. The config name.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
Config.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Config getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Config |
|
getDefaultKmsKeyName()
public String getDefaultKmsKeyName()Optional. The default KMS key that is used if no encryption key is provided when a repository is created.
string default_kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The defaultKmsKeyName. |
getDefaultKmsKeyNameBytes()
public ByteString getDefaultKmsKeyNameBytes()Optional. The default KMS key that is used if no encryption key is provided when a repository is created.
string default_kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for defaultKmsKeyName. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInternalMetadata()
public String getInternalMetadata()Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
optional string internal_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The internalMetadata. |
getInternalMetadataBytes()
public ByteString getInternalMetadataBytes()Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
optional string internal_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for internalMetadata. |
getName()
public String getName()Identifier. The config name.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Identifier. The config name.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
hasInternalMetadata()
public boolean hasInternalMetadata()Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
optional string internal_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the internalMetadata field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Config other)
public Config.Builder mergeFrom(Config other)| Parameter | |
|---|---|
| Name | Description |
other |
Config |
| Returns | |
|---|---|
| Type | Description |
Config.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Config.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Config.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Config.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Config.Builder |
|
setDefaultKmsKeyName(String value)
public Config.Builder setDefaultKmsKeyName(String value)Optional. The default KMS key that is used if no encryption key is provided when a repository is created.
string default_kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe defaultKmsKeyName to set. |
| Returns | |
|---|---|
| Type | Description |
Config.Builder |
This builder for chaining. |
setDefaultKmsKeyNameBytes(ByteString value)
public Config.Builder setDefaultKmsKeyNameBytes(ByteString value)Optional. The default KMS key that is used if no encryption key is provided when a repository is created.
string default_kms_key_name = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for defaultKmsKeyName to set. |
| Returns | |
|---|---|
| Type | Description |
Config.Builder |
This builder for chaining. |
setInternalMetadata(String value)
public Config.Builder setInternalMetadata(String value)Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
optional string internal_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe internalMetadata to set. |
| Returns | |
|---|---|
| Type | Description |
Config.Builder |
This builder for chaining. |
setInternalMetadataBytes(ByteString value)
public Config.Builder setInternalMetadataBytes(ByteString value)Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
optional string internal_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for internalMetadata to set. |
| Returns | |
|---|---|
| Type | Description |
Config.Builder |
This builder for chaining. |
setName(String value)
public Config.Builder setName(String value)Identifier. The config name.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Config.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Config.Builder setNameBytes(ByteString value)Identifier. The config name.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Config.Builder |
This builder for chaining. |