Class PrivateConnectivityRule.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<PrivateConnectivityRule.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<PrivateConnectivityRule.Builder>
io.temporal.api.cloud.connectivityrule.v1.PrivateConnectivityRule.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,PrivateConnectivityRuleOrBuilder,Cloneable
- Enclosing class:
PrivateConnectivityRule
public static final class PrivateConnectivityRule.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<PrivateConnectivityRule.Builder>
implements PrivateConnectivityRuleOrBuilder
A private connectivity rule allows connections from a specific private vpc only.Protobuf type
temporal.api.cloud.connectivityrule.v1.PrivateConnectivityRule-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Connection id provided to enforce the private connectivity.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) For GCP private connectivity service, GCP needs both GCP project id and the Private Service Connect Connection IDs AWS only needs the connection_idclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The region of the connectivity rule.clone()Connection id provided to enforce the private connectivity.com.google.protobuf.ByteStringConnection id provided to enforce the private connectivity.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorFor GCP private connectivity service, GCP needs both GCP project id and the Private Service Connect Connection IDs AWS only needs the connection_idcom.google.protobuf.ByteStringFor GCP private connectivity service, GCP needs both GCP project id and the Private Service Connect Connection IDs AWS only needs the connection_idThe region of the connectivity rule.com.google.protobuf.ByteStringThe region of the connectivity rule.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(PrivateConnectivityRule other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setConnectionId(String value) Connection id provided to enforce the private connectivity.setConnectionIdBytes(com.google.protobuf.ByteString value) Connection id provided to enforce the private connectivity.setGcpProjectId(String value) For GCP private connectivity service, GCP needs both GCP project id and the Private Service Connect Connection IDs AWS only needs the connection_idsetGcpProjectIdBytes(com.google.protobuf.ByteString value) For GCP private connectivity service, GCP needs both GCP project id and the Private Service Connect Connection IDs AWS only needs the connection_idThe region of the connectivity rule.setRegionBytes(com.google.protobuf.ByteString value) The region of the connectivity rule.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<PrivateConnectivityRule.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<PrivateConnectivityRule.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.GeneratedMessageV3.Builder<PrivateConnectivityRule.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<PrivateConnectivityRule.Builder>
-
setField
public PrivateConnectivityRule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PrivateConnectivityRule.Builder>
-
clearField
public PrivateConnectivityRule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PrivateConnectivityRule.Builder>
-
clearOneof
public PrivateConnectivityRule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PrivateConnectivityRule.Builder>
-
setRepeatedField
public PrivateConnectivityRule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PrivateConnectivityRule.Builder>
-
addRepeatedField
public PrivateConnectivityRule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PrivateConnectivityRule.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PrivateConnectivityRule.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PrivateConnectivityRule.Builder>
-
mergeFrom
public PrivateConnectivityRule.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<PrivateConnectivityRule.Builder>- Throws:
IOException
-
getConnectionId
Connection id provided to enforce the private connectivity. This is required both by AWS and GCP.
string connection_id = 1;- Specified by:
getConnectionIdin interfacePrivateConnectivityRuleOrBuilder- Returns:
- The connectionId.
-
getConnectionIdBytes
public com.google.protobuf.ByteString getConnectionIdBytes()Connection id provided to enforce the private connectivity. This is required both by AWS and GCP.
string connection_id = 1;- Specified by:
getConnectionIdBytesin interfacePrivateConnectivityRuleOrBuilder- Returns:
- The bytes for connectionId.
-
setConnectionId
Connection id provided to enforce the private connectivity. This is required both by AWS and GCP.
string connection_id = 1;- Parameters:
value- The connectionId to set.- Returns:
- This builder for chaining.
-
clearConnectionId
Connection id provided to enforce the private connectivity. This is required both by AWS and GCP.
string connection_id = 1;- Returns:
- This builder for chaining.
-
setConnectionIdBytes
Connection id provided to enforce the private connectivity. This is required both by AWS and GCP.
string connection_id = 1;- Parameters:
value- The bytes for connectionId to set.- Returns:
- This builder for chaining.
-
getGcpProjectId
For GCP private connectivity service, GCP needs both GCP project id and the Private Service Connect Connection IDs AWS only needs the connection_id
string gcp_project_id = 2;- Specified by:
getGcpProjectIdin interfacePrivateConnectivityRuleOrBuilder- Returns:
- The gcpProjectId.
-
getGcpProjectIdBytes
public com.google.protobuf.ByteString getGcpProjectIdBytes()For GCP private connectivity service, GCP needs both GCP project id and the Private Service Connect Connection IDs AWS only needs the connection_id
string gcp_project_id = 2;- Specified by:
getGcpProjectIdBytesin interfacePrivateConnectivityRuleOrBuilder- Returns:
- The bytes for gcpProjectId.
-
setGcpProjectId
For GCP private connectivity service, GCP needs both GCP project id and the Private Service Connect Connection IDs AWS only needs the connection_id
string gcp_project_id = 2;- Parameters:
value- The gcpProjectId to set.- Returns:
- This builder for chaining.
-
clearGcpProjectId
For GCP private connectivity service, GCP needs both GCP project id and the Private Service Connect Connection IDs AWS only needs the connection_id
string gcp_project_id = 2;- Returns:
- This builder for chaining.
-
setGcpProjectIdBytes
For GCP private connectivity service, GCP needs both GCP project id and the Private Service Connect Connection IDs AWS only needs the connection_id
string gcp_project_id = 2;- Parameters:
value- The bytes for gcpProjectId to set.- Returns:
- This builder for chaining.
-
getRegion
The region of the connectivity rule. This should align with the namespace. Example: "aws-us-west-2"
string region = 3;- Specified by:
getRegionin interfacePrivateConnectivityRuleOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()The region of the connectivity rule. This should align with the namespace. Example: "aws-us-west-2"
string region = 3;- Specified by:
getRegionBytesin interfacePrivateConnectivityRuleOrBuilder- Returns:
- The bytes for region.
-
setRegion
The region of the connectivity rule. This should align with the namespace. Example: "aws-us-west-2"
string region = 3;- Parameters:
value- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
The region of the connectivity rule. This should align with the namespace. Example: "aws-us-west-2"
string region = 3;- Returns:
- This builder for chaining.
-
setRegionBytes
The region of the connectivity rule. This should align with the namespace. Example: "aws-us-west-2"
string region = 3;- Parameters:
value- The bytes for region to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final PrivateConnectivityRule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PrivateConnectivityRule.Builder>
-
mergeUnknownFields
public final PrivateConnectivityRule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PrivateConnectivityRule.Builder>
-