public static final class ProviderVersion.Builder extends GeneratedMessage.Builder<ProviderVersion.Builder> implements ProviderVersionOrBuilderProviderVersion defines the required version for a provider.
Protobuf type google.cloud.designcenter.v1.ProviderVersion
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ProviderVersion.BuilderImplements
ProviderVersionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ProviderVersion build()| Returns | |
|---|---|
| Type | Description |
ProviderVersion |
|
buildPartial()
public ProviderVersion buildPartial()| Returns | |
|---|---|
| Type | Description |
ProviderVersion |
|
clear()
public ProviderVersion.Builder clear()| Returns | |
|---|---|
| Type | Description |
ProviderVersion.Builder |
|
clearSource()
public ProviderVersion.Builder clearSource()Output only. The provider source in the format: [hostname]/[namespace]/[name]. Hostname is optional, and defaults to the Terraform registry.
string source = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ProviderVersion.Builder |
This builder for chaining. |
clearVersion()
public ProviderVersion.Builder clearVersion()Output only. Version constraint string.
string version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ProviderVersion.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ProviderVersion getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ProviderVersion |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSource()
public String getSource()Output only. The provider source in the format: [hostname]/[namespace]/[name]. Hostname is optional, and defaults to the Terraform registry.
string source = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The source. |
getSourceBytes()
public ByteString getSourceBytes()Output only. The provider source in the format: [hostname]/[namespace]/[name]. Hostname is optional, and defaults to the Terraform registry.
string source = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for source. |
getVersion()
public String getVersion()Output only. Version constraint string.
string version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The version. |
getVersionBytes()
public ByteString getVersionBytes()Output only. Version constraint string.
string version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| 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(ProviderVersion other)
public ProviderVersion.Builder mergeFrom(ProviderVersion other)| Parameter | |
|---|---|
| Name | Description |
other |
ProviderVersion |
| Returns | |
|---|---|
| Type | Description |
ProviderVersion.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ProviderVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ProviderVersion.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ProviderVersion.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ProviderVersion.Builder |
|
setSource(String value)
public ProviderVersion.Builder setSource(String value)Output only. The provider source in the format: [hostname]/[namespace]/[name]. Hostname is optional, and defaults to the Terraform registry.
string source = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe source to set. |
| Returns | |
|---|---|
| Type | Description |
ProviderVersion.Builder |
This builder for chaining. |
setSourceBytes(ByteString value)
public ProviderVersion.Builder setSourceBytes(ByteString value)Output only. The provider source in the format: [hostname]/[namespace]/[name]. Hostname is optional, and defaults to the Terraform registry.
string source = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for source to set. |
| Returns | |
|---|---|
| Type | Description |
ProviderVersion.Builder |
This builder for chaining. |
setVersion(String value)
public ProviderVersion.Builder setVersion(String value)Output only. Version constraint string.
string version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe version to set. |
| Returns | |
|---|---|
| Type | Description |
ProviderVersion.Builder |
This builder for chaining. |
setVersionBytes(ByteString value)
public ProviderVersion.Builder setVersionBytes(ByteString value)Output only. Version constraint string.
string version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for version to set. |
| Returns | |
|---|---|
| Type | Description |
ProviderVersion.Builder |
This builder for chaining. |