public static final class ProviderDependency.Builder extends GeneratedMessage.Builder<ProviderDependency.Builder> implements ProviderDependencyOrBuilderRepresents a dependency on a Terraform provider.
Protobuf type google.cloud.designcenter.v1.ProviderDependency
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ProviderDependency.BuilderImplements
ProviderDependencyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ProviderDependency build()| Returns | |
|---|---|
| Type | Description |
ProviderDependency |
|
buildPartial()
public ProviderDependency buildPartial()| Returns | |
|---|---|
| Type | Description |
ProviderDependency |
|
clear()
public ProviderDependency.Builder clear()| Returns | |
|---|---|
| Type | Description |
ProviderDependency.Builder |
|
clearName()
public ProviderDependency.Builder clearName()Optional. Name of the provider.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProviderDependency.Builder |
This builder for chaining. |
clearProviderNamespace()
public ProviderDependency.Builder clearProviderNamespace()Optional. Namespace of the provider (e.g., "hashicorp").
string provider_namespace = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProviderDependency.Builder |
This builder for chaining. |
clearSource()
public ProviderDependency.Builder clearSource()Optional. Source path of the provider.
string source = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProviderDependency.Builder |
This builder for chaining. |
clearVersion()
public ProviderDependency.Builder clearVersion()Optional. Version constraints for the provider.
string version = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProviderDependency.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ProviderDependency getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ProviderDependency |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Optional. Name of the provider.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Optional. Name of the provider.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getProviderNamespace()
public String getProviderNamespace()Optional. Namespace of the provider (e.g., "hashicorp").
string provider_namespace = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The providerNamespace. |
getProviderNamespaceBytes()
public ByteString getProviderNamespaceBytes()Optional. Namespace of the provider (e.g., "hashicorp").
string provider_namespace = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for providerNamespace. |
getSource()
public String getSource()Optional. Source path of the provider.
string source = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The source. |
getSourceBytes()
public ByteString getSourceBytes()Optional. Source path of the provider.
string source = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for source. |
getVersion()
public String getVersion()Optional. Version constraints for the provider.
string version = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The version. |
getVersionBytes()
public ByteString getVersionBytes()Optional. Version constraints for the provider.
string version = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for version. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ProviderDependency other)
public ProviderDependency.Builder mergeFrom(ProviderDependency other)| Parameter | |
|---|---|
| Name | Description |
other |
ProviderDependency |
| Returns | |
|---|---|
| Type | Description |
ProviderDependency.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ProviderDependency.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ProviderDependency.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ProviderDependency.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ProviderDependency.Builder |
|
setName(String value)
public ProviderDependency.Builder setName(String value)Optional. Name of the provider.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ProviderDependency.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ProviderDependency.Builder setNameBytes(ByteString value)Optional. Name of the provider.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ProviderDependency.Builder |
This builder for chaining. |
setProviderNamespace(String value)
public ProviderDependency.Builder setProviderNamespace(String value)Optional. Namespace of the provider (e.g., "hashicorp").
string provider_namespace = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe providerNamespace to set. |
| Returns | |
|---|---|
| Type | Description |
ProviderDependency.Builder |
This builder for chaining. |
setProviderNamespaceBytes(ByteString value)
public ProviderDependency.Builder setProviderNamespaceBytes(ByteString value)Optional. Namespace of the provider (e.g., "hashicorp").
string provider_namespace = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for providerNamespace to set. |
| Returns | |
|---|---|
| Type | Description |
ProviderDependency.Builder |
This builder for chaining. |
setSource(String value)
public ProviderDependency.Builder setSource(String value)Optional. Source path of the provider.
string source = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe source to set. |
| Returns | |
|---|---|
| Type | Description |
ProviderDependency.Builder |
This builder for chaining. |
setSourceBytes(ByteString value)
public ProviderDependency.Builder setSourceBytes(ByteString value)Optional. Source path of the provider.
string source = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for source to set. |
| Returns | |
|---|---|
| Type | Description |
ProviderDependency.Builder |
This builder for chaining. |
setVersion(String value)
public ProviderDependency.Builder setVersion(String value)Optional. Version constraints for the provider.
string version = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe version to set. |
| Returns | |
|---|---|
| Type | Description |
ProviderDependency.Builder |
This builder for chaining. |
setVersionBytes(ByteString value)
public ProviderDependency.Builder setVersionBytes(ByteString value)Optional. Version constraints for the provider.
string version = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for version to set. |
| Returns | |
|---|---|
| Type | Description |
ProviderDependency.Builder |
This builder for chaining. |