public static final class ConnectionSource.Builder extends GeneratedMessage.Builder<ConnectionSource.Builder> implements ConnectionSourceOrBuilderDefines the source of a connection.
Protobuf type google.cloud.designcenter.v1.ConnectionSource
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ConnectionSource.BuilderImplements
ConnectionSourceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ConnectionSource build()| Returns | |
|---|---|
| Type | Description |
ConnectionSource |
|
buildPartial()
public ConnectionSource buildPartial()| Returns | |
|---|---|
| Type | Description |
ConnectionSource |
|
clear()
public ConnectionSource.Builder clear()| Returns | |
|---|---|
| Type | Description |
ConnectionSource.Builder |
|
clearSource()
public ConnectionSource.Builder clearSource()Required. Source of the connection. Defined using the same format as module source of form [hostname]/namespace/name/provider for registry references and unprefixed github.com URLs for github references.
string source = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ConnectionSource.Builder |
This builder for chaining. |
clearVersion()
public ConnectionSource.Builder clearVersion()Required. Version constraint syntax using the same format as module version constraints.
string version = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ConnectionSource.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ConnectionSource getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ConnectionSource |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSource()
public String getSource()Required. Source of the connection. Defined using the same format as module source of form [hostname]/namespace/name/provider for registry references and unprefixed github.com URLs for github references.
string source = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The source. |
getSourceBytes()
public ByteString getSourceBytes()Required. Source of the connection. Defined using the same format as module source of form [hostname]/namespace/name/provider for registry references and unprefixed github.com URLs for github references.
string source = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for source. |
getVersion()
public String getVersion()Required. Version constraint syntax using the same format as module version constraints.
string version = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The version. |
getVersionBytes()
public ByteString getVersionBytes()Required. Version constraint syntax using the same format as module version constraints.
string version = 2 [(.google.api.field_behavior) = REQUIRED];
| 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(ConnectionSource other)
public ConnectionSource.Builder mergeFrom(ConnectionSource other)| Parameter | |
|---|---|
| Name | Description |
other |
ConnectionSource |
| Returns | |
|---|---|
| Type | Description |
ConnectionSource.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConnectionSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ConnectionSource.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ConnectionSource.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ConnectionSource.Builder |
|
setSource(String value)
public ConnectionSource.Builder setSource(String value)Required. Source of the connection. Defined using the same format as module source of form [hostname]/namespace/name/provider for registry references and unprefixed github.com URLs for github references.
string source = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe source to set. |
| Returns | |
|---|---|
| Type | Description |
ConnectionSource.Builder |
This builder for chaining. |
setSourceBytes(ByteString value)
public ConnectionSource.Builder setSourceBytes(ByteString value)Required. Source of the connection. Defined using the same format as module source of form [hostname]/namespace/name/provider for registry references and unprefixed github.com URLs for github references.
string source = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for source to set. |
| Returns | |
|---|---|
| Type | Description |
ConnectionSource.Builder |
This builder for chaining. |
setVersion(String value)
public ConnectionSource.Builder setVersion(String value)Required. Version constraint syntax using the same format as module version constraints.
string version = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe version to set. |
| Returns | |
|---|---|
| Type | Description |
ConnectionSource.Builder |
This builder for chaining. |
setVersionBytes(ByteString value)
public ConnectionSource.Builder setVersionBytes(ByteString value)Required. Version constraint syntax using the same format as module version constraints.
string version = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for version to set. |
| Returns | |
|---|---|
| Type | Description |
ConnectionSource.Builder |
This builder for chaining. |