public static final class ModuleDependency.Builder extends GeneratedMessage.Builder<ModuleDependency.Builder> implements ModuleDependencyOrBuilderRepresents a dependency on another Terraform module.
Protobuf type google.cloud.designcenter.v1.ModuleDependency
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ModuleDependency.BuilderImplements
ModuleDependencyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ModuleDependency build()| Returns | |
|---|---|
| Type | Description |
ModuleDependency |
|
buildPartial()
public ModuleDependency buildPartial()| Returns | |
|---|---|
| Type | Description |
ModuleDependency |
|
clear()
public ModuleDependency.Builder clear()| Returns | |
|---|---|
| Type | Description |
ModuleDependency.Builder |
|
clearName()
public ModuleDependency.Builder clearName()Optional. Local name of the module instance.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ModuleDependency.Builder |
This builder for chaining. |
clearSource()
public ModuleDependency.Builder clearSource()Optional. Source of the module.
string source = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ModuleDependency.Builder |
This builder for chaining. |
clearVersion()
public ModuleDependency.Builder clearVersion()Optional. Version constraint for the module.
string version = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ModuleDependency.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ModuleDependency getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ModuleDependency |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Optional. Local name of the module instance.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Optional. Local name of the module instance.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getSource()
public String getSource()Optional. Source of the module.
string source = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The source. |
getSourceBytes()
public ByteString getSourceBytes()Optional. Source of the module.
string source = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for source. |
getVersion()
public String getVersion()Optional. Version constraint for the module.
string version = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The version. |
getVersionBytes()
public ByteString getVersionBytes()Optional. Version constraint for the module.
string version = 3 [(.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(ModuleDependency other)
public ModuleDependency.Builder mergeFrom(ModuleDependency other)| Parameter | |
|---|---|
| Name | Description |
other |
ModuleDependency |
| Returns | |
|---|---|
| Type | Description |
ModuleDependency.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ModuleDependency.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ModuleDependency.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ModuleDependency.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ModuleDependency.Builder |
|
setName(String value)
public ModuleDependency.Builder setName(String value)Optional. Local name of the module instance.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ModuleDependency.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ModuleDependency.Builder setNameBytes(ByteString value)Optional. Local name of the module instance.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ModuleDependency.Builder |
This builder for chaining. |
setSource(String value)
public ModuleDependency.Builder setSource(String value)Optional. Source of the module.
string source = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe source to set. |
| Returns | |
|---|---|
| Type | Description |
ModuleDependency.Builder |
This builder for chaining. |
setSourceBytes(ByteString value)
public ModuleDependency.Builder setSourceBytes(ByteString value)Optional. Source of the module.
string source = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for source to set. |
| Returns | |
|---|---|
| Type | Description |
ModuleDependency.Builder |
This builder for chaining. |
setVersion(String value)
public ModuleDependency.Builder setVersion(String value)Optional. Version constraint for the module.
string version = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe version to set. |
| Returns | |
|---|---|
| Type | Description |
ModuleDependency.Builder |
This builder for chaining. |
setVersionBytes(ByteString value)
public ModuleDependency.Builder setVersionBytes(ByteString value)Optional. Version constraint for the module.
string version = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for version to set. |
| Returns | |
|---|---|
| Type | Description |
ModuleDependency.Builder |
This builder for chaining. |