Class PrivateConnectivityRule.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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,java.lang.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 typetemporal.api.cloud.connectivityrule.v1.PrivateConnectivityRule
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PrivateConnectivityRule.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)PrivateConnectivityRulebuild()PrivateConnectivityRulebuildPartial()PrivateConnectivityRule.Builderclear()PrivateConnectivityRule.BuilderclearConnectionId()Connection id provided to enforce the private connectivity.PrivateConnectivityRule.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)PrivateConnectivityRule.BuilderclearGcpProjectId()For GCP private connectivity service, GCP needs both GCP project id and the Private Service Connect Connection IDs AWS only needs the connection_idPrivateConnectivityRule.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)PrivateConnectivityRule.BuilderclearRegion()The region of the connectivity rule.PrivateConnectivityRule.Builderclone()java.lang.StringgetConnectionId()Connection id provided to enforce the private connectivity.com.google.protobuf.ByteStringgetConnectionIdBytes()Connection id provided to enforce the private connectivity.PrivateConnectivityRulegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetGcpProjectId()For 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.ByteStringgetGcpProjectIdBytes()For GCP private connectivity service, GCP needs both GCP project id and the Private Service Connect Connection IDs AWS only needs the connection_idjava.lang.StringgetRegion()The region of the connectivity rule.com.google.protobuf.ByteStringgetRegionBytes()The region of the connectivity rule.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()PrivateConnectivityRule.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)PrivateConnectivityRule.BuildermergeFrom(com.google.protobuf.Message other)PrivateConnectivityRule.BuildermergeFrom(PrivateConnectivityRule other)PrivateConnectivityRule.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)PrivateConnectivityRule.BuildersetConnectionId(java.lang.String value)Connection id provided to enforce the private connectivity.PrivateConnectivityRule.BuildersetConnectionIdBytes(com.google.protobuf.ByteString value)Connection id provided to enforce the private connectivity.PrivateConnectivityRule.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)PrivateConnectivityRule.BuildersetGcpProjectId(java.lang.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_idPrivateConnectivityRule.BuildersetGcpProjectIdBytes(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_idPrivateConnectivityRule.BuildersetRegion(java.lang.String value)The region of the connectivity rule.PrivateConnectivityRule.BuildersetRegionBytes(com.google.protobuf.ByteString value)The region of the connectivity rule.PrivateConnectivityRule.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)PrivateConnectivityRule.BuildersetUnknownFields(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, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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
public 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
public PrivateConnectivityRule getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public PrivateConnectivityRule build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PrivateConnectivityRule buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PrivateConnectivityRule.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, java.lang.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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PrivateConnectivityRule.Builder>
-
mergeFrom
public PrivateConnectivityRule.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PrivateConnectivityRule.Builder>
-
mergeFrom
public PrivateConnectivityRule.Builder mergeFrom(PrivateConnectivityRule other)
-
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 java.io.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:
java.io.IOException
-
getConnectionId
public java.lang.String 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
public PrivateConnectivityRule.Builder setConnectionId(java.lang.String value)
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
public PrivateConnectivityRule.Builder 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
public PrivateConnectivityRule.Builder setConnectionIdBytes(com.google.protobuf.ByteString value)
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
public java.lang.String 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
public PrivateConnectivityRule.Builder setGcpProjectId(java.lang.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_id
string gcp_project_id = 2;- Parameters:
value- The gcpProjectId to set.- Returns:
- This builder for chaining.
-
clearGcpProjectId
public PrivateConnectivityRule.Builder 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
public PrivateConnectivityRule.Builder setGcpProjectIdBytes(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_id
string gcp_project_id = 2;- Parameters:
value- The bytes for gcpProjectId to set.- Returns:
- This builder for chaining.
-
getRegion
public java.lang.String 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
public PrivateConnectivityRule.Builder setRegion(java.lang.String value)
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
public PrivateConnectivityRule.Builder 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
public PrivateConnectivityRule.Builder setRegionBytes(com.google.protobuf.ByteString value)
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>
-
-