public static final class EkmConnection.Builder extends GeneratedMessage.Builder<EkmConnection.Builder> implements EkmConnectionOrBuilderDetails about the EKM connection
Protobuf type google.cloud.cloudcontrolspartner.v1beta.EkmConnection
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > EkmConnection.BuilderImplements
EkmConnectionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public EkmConnection build()| Returns | |
|---|---|
| Type | Description |
EkmConnection |
|
buildPartial()
public EkmConnection buildPartial()| Returns | |
|---|---|
| Type | Description |
EkmConnection |
|
clear()
public EkmConnection.Builder clear()| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
|
clearConnectionError()
public EkmConnection.Builder clearConnectionError()The connection error that occurred if any
.google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionError connection_error = 3;
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
|
clearConnectionName()
public EkmConnection.Builder clearConnectionName()Resource name of the EKM connection in the format: projects/{project}/locations/{location}/ekmConnections/{ekm_connection}
string connection_name = 1;
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
This builder for chaining. |
clearConnectionState()
public EkmConnection.Builder clearConnectionState()Output only. The connection state
.google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionState connection_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
This builder for chaining. |
getConnectionError()
public EkmConnection.ConnectionError getConnectionError()The connection error that occurred if any
.google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionError connection_error = 3;
| Returns | |
|---|---|
| Type | Description |
EkmConnection.ConnectionError |
The connectionError. |
getConnectionErrorBuilder()
public EkmConnection.ConnectionError.Builder getConnectionErrorBuilder()The connection error that occurred if any
.google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionError connection_error = 3;
| Returns | |
|---|---|
| Type | Description |
EkmConnection.ConnectionError.Builder |
|
getConnectionErrorOrBuilder()
public EkmConnection.ConnectionErrorOrBuilder getConnectionErrorOrBuilder()The connection error that occurred if any
.google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionError connection_error = 3;
| Returns | |
|---|---|
| Type | Description |
EkmConnection.ConnectionErrorOrBuilder |
|
getConnectionName()
public String getConnectionName()Resource name of the EKM connection in the format: projects/{project}/locations/{location}/ekmConnections/{ekm_connection}
string connection_name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The connectionName. |
getConnectionNameBytes()
public ByteString getConnectionNameBytes()Resource name of the EKM connection in the format: projects/{project}/locations/{location}/ekmConnections/{ekm_connection}
string connection_name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for connectionName. |
getConnectionState()
public EkmConnection.ConnectionState getConnectionState()Output only. The connection state
.google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionState connection_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EkmConnection.ConnectionState |
The connectionState. |
getConnectionStateValue()
public int getConnectionStateValue()Output only. The connection state
.google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionState connection_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for connectionState. |
getDefaultInstanceForType()
public EkmConnection getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
EkmConnection |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
hasConnectionError()
public boolean hasConnectionError()The connection error that occurred if any
.google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionError connection_error = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the connectionError field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeConnectionError(EkmConnection.ConnectionError value)
public EkmConnection.Builder mergeConnectionError(EkmConnection.ConnectionError value)The connection error that occurred if any
.google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionError connection_error = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
EkmConnection.ConnectionError |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
|
mergeFrom(EkmConnection other)
public EkmConnection.Builder mergeFrom(EkmConnection other)| Parameter | |
|---|---|
| Name | Description |
other |
EkmConnection |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EkmConnection.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public EkmConnection.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
|
setConnectionError(EkmConnection.ConnectionError value)
public EkmConnection.Builder setConnectionError(EkmConnection.ConnectionError value)The connection error that occurred if any
.google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionError connection_error = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
EkmConnection.ConnectionError |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
|
setConnectionError(EkmConnection.ConnectionError.Builder builderForValue)
public EkmConnection.Builder setConnectionError(EkmConnection.ConnectionError.Builder builderForValue)The connection error that occurred if any
.google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionError connection_error = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
EkmConnection.ConnectionError.Builder |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
|
setConnectionName(String value)
public EkmConnection.Builder setConnectionName(String value)Resource name of the EKM connection in the format: projects/{project}/locations/{location}/ekmConnections/{ekm_connection}
string connection_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe connectionName to set. |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
This builder for chaining. |
setConnectionNameBytes(ByteString value)
public EkmConnection.Builder setConnectionNameBytes(ByteString value)Resource name of the EKM connection in the format: projects/{project}/locations/{location}/ekmConnections/{ekm_connection}
string connection_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for connectionName to set. |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
This builder for chaining. |
setConnectionState(EkmConnection.ConnectionState value)
public EkmConnection.Builder setConnectionState(EkmConnection.ConnectionState value)Output only. The connection state
.google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionState connection_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
EkmConnection.ConnectionStateThe connectionState to set. |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
This builder for chaining. |
setConnectionStateValue(int value)
public EkmConnection.Builder setConnectionStateValue(int value)Output only. The connection state
.google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionState connection_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for connectionState to set. |
| Returns | |
|---|---|
| Type | Description |
EkmConnection.Builder |
This builder for chaining. |