public static final class EkmConnection.Builder extends GeneratedMessageV3.Builder<EkmConnection.Builder> implements EkmConnectionOrBuilder
Details about the EKM connection
Protobuf type google.cloud.cloudcontrolspartner.v1beta.EkmConnection
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EkmConnection.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public EkmConnection build()
buildPartial()
public EkmConnection buildPartial()
clear()
public EkmConnection.Builder clear()
Overrides
clearConnectionError()
public EkmConnection.Builder clearConnectionError()
The connection error that occurred if any
.google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionError connection_error = 3;
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;
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];
clearField(Descriptors.FieldDescriptor field)
public EkmConnection.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public EkmConnection.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public EkmConnection.Builder clone()
Overrides
getConnectionError()
public EkmConnection.ConnectionError getConnectionError()
The connection error that occurred if any
.google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionError connection_error = 3;
getConnectionErrorBuilder()
public EkmConnection.ConnectionError.Builder getConnectionErrorBuilder()
The connection error that occurred if any
.google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionError connection_error = 3;
getConnectionErrorOrBuilder()
public EkmConnection.ConnectionErrorOrBuilder getConnectionErrorOrBuilder()
The connection error that occurred if any
.google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionError connection_error = 3;
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];
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
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;
mergeFrom(EkmConnection other)
public EkmConnection.Builder mergeFrom(EkmConnection other)
public EkmConnection.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public EkmConnection.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EkmConnection.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
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;
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 | String
The connectionName to set.
|
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 | ByteString
The bytes for connectionName to set.
|
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];
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 | int
The enum numeric value on the wire for connectionState to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public EkmConnection.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EkmConnection.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final EkmConnection.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides