Class EkmConnection.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<EkmConnection.Builder>
com.google.cloud.cloudcontrolspartner.v1.EkmConnection.Builder
- All Implemented Interfaces:
EkmConnectionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- EkmConnection
public static final class EkmConnection.Builder
extends com.google.protobuf.GeneratedMessage.Builder<EkmConnection.Builder>
implements EkmConnectionOrBuilder
Details about the EKM connectionProtobuf type
google.cloud.cloudcontrolspartner.v1.EkmConnection-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The connection error that occurred if anyResource name of the EKM connection in the format: projects/{project}/locations/{location}/ekmConnections/{ekm_connection}Output only.The connection error that occurred if anyThe connection error that occurred if anyThe connection error that occurred if anyResource name of the EKM connection in the format: projects/{project}/locations/{location}/ekmConnections/{ekm_connection}com.google.protobuf.ByteStringResource name of the EKM connection in the format: projects/{project}/locations/{location}/ekmConnections/{ekm_connection}Output only.intOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanThe connection error that occurred if anyprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanThe connection error that occurred if anymergeFrom(EkmConnection other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The connection error that occurred if anysetConnectionError(EkmConnection.ConnectionError.Builder builderForValue) The connection error that occurred if anysetConnectionName(String value) Resource name of the EKM connection in the format: projects/{project}/locations/{location}/ekmConnections/{ekm_connection}setConnectionNameBytes(com.google.protobuf.ByteString value) Resource name of the EKM connection in the format: projects/{project}/locations/{location}/ekmConnections/{ekm_connection}Output only.setConnectionStateValue(int value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<EkmConnection.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<EkmConnection.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<EkmConnection.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EkmConnection.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<EkmConnection.Builder>
-
mergeFrom
public EkmConnection.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EkmConnection.Builder>- Throws:
IOException
-
getConnectionName
Resource name of the EKM connection in the format: projects/{project}/locations/{location}/ekmConnections/{ekm_connection}string connection_name = 1;- Specified by:
getConnectionNamein interfaceEkmConnectionOrBuilder- Returns:
- The connectionName.
-
getConnectionNameBytes
public com.google.protobuf.ByteString getConnectionNameBytes()Resource name of the EKM connection in the format: projects/{project}/locations/{location}/ekmConnections/{ekm_connection}string connection_name = 1;- Specified by:
getConnectionNameBytesin interfaceEkmConnectionOrBuilder- Returns:
- The bytes for connectionName.
-
setConnectionName
Resource name of the EKM connection in the format: projects/{project}/locations/{location}/ekmConnections/{ekm_connection}string connection_name = 1;- Parameters:
value- The connectionName to set.- Returns:
- This builder for chaining.
-
clearConnectionName
Resource name of the EKM connection in the format: projects/{project}/locations/{location}/ekmConnections/{ekm_connection}string connection_name = 1;- Returns:
- This builder for chaining.
-
setConnectionNameBytes
Resource name of the EKM connection in the format: projects/{project}/locations/{location}/ekmConnections/{ekm_connection}string connection_name = 1;- Parameters:
value- The bytes for connectionName to set.- Returns:
- This builder for chaining.
-
getConnectionStateValue
public int getConnectionStateValue()Output only. The connection state
.google.cloud.cloudcontrolspartner.v1.EkmConnection.ConnectionState connection_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConnectionStateValuein interfaceEkmConnectionOrBuilder- Returns:
- The enum numeric value on the wire for connectionState.
-
setConnectionStateValue
Output only. The connection state
.google.cloud.cloudcontrolspartner.v1.EkmConnection.ConnectionState connection_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for connectionState to set.- Returns:
- This builder for chaining.
-
getConnectionState
Output only. The connection state
.google.cloud.cloudcontrolspartner.v1.EkmConnection.ConnectionState connection_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConnectionStatein interfaceEkmConnectionOrBuilder- Returns:
- The connectionState.
-
setConnectionState
Output only. The connection state
.google.cloud.cloudcontrolspartner.v1.EkmConnection.ConnectionState connection_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The connectionState to set.- Returns:
- This builder for chaining.
-
clearConnectionState
Output only. The connection state
.google.cloud.cloudcontrolspartner.v1.EkmConnection.ConnectionState connection_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasConnectionError
public boolean hasConnectionError()The connection error that occurred if any
.google.cloud.cloudcontrolspartner.v1.EkmConnection.ConnectionError connection_error = 3;- Specified by:
hasConnectionErrorin interfaceEkmConnectionOrBuilder- Returns:
- Whether the connectionError field is set.
-
getConnectionError
The connection error that occurred if any
.google.cloud.cloudcontrolspartner.v1.EkmConnection.ConnectionError connection_error = 3;- Specified by:
getConnectionErrorin interfaceEkmConnectionOrBuilder- Returns:
- The connectionError.
-
setConnectionError
The connection error that occurred if any
.google.cloud.cloudcontrolspartner.v1.EkmConnection.ConnectionError connection_error = 3; -
setConnectionError
public EkmConnection.Builder setConnectionError(EkmConnection.ConnectionError.Builder builderForValue) The connection error that occurred if any
.google.cloud.cloudcontrolspartner.v1.EkmConnection.ConnectionError connection_error = 3; -
mergeConnectionError
The connection error that occurred if any
.google.cloud.cloudcontrolspartner.v1.EkmConnection.ConnectionError connection_error = 3; -
clearConnectionError
The connection error that occurred if any
.google.cloud.cloudcontrolspartner.v1.EkmConnection.ConnectionError connection_error = 3; -
getConnectionErrorBuilder
The connection error that occurred if any
.google.cloud.cloudcontrolspartner.v1.EkmConnection.ConnectionError connection_error = 3; -
getConnectionErrorOrBuilder
The connection error that occurred if any
.google.cloud.cloudcontrolspartner.v1.EkmConnection.ConnectionError connection_error = 3;- Specified by:
getConnectionErrorOrBuilderin interfaceEkmConnectionOrBuilder
-