Class ConnectivityRule.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ConnectivityRule.Builder>
-
- io.temporal.api.cloud.connectivityrule.v1.ConnectivityRule.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ConnectivityRuleOrBuilder,java.lang.Cloneable
- Enclosing class:
- ConnectivityRule
public static final class ConnectivityRule.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ConnectivityRule.Builder> implements ConnectivityRuleOrBuilder
Protobuf typetemporal.api.cloud.connectivityrule.v1.ConnectivityRule
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectivityRule.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ConnectivityRulebuild()ConnectivityRulebuildPartial()ConnectivityRule.Builderclear()ConnectivityRule.BuilderclearAsyncOperationId()The id of the async operation that is creating/updating/deleting the connectivity rule, if any.ConnectivityRule.BuilderclearCreatedTime()The date and time when the connectivity rule was created.ConnectivityRule.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ConnectivityRule.BuilderclearId()The id of the private connectivity rule.ConnectivityRule.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ConnectivityRule.BuilderclearResourceVersion()The current version of the connectivity rule specification.ConnectivityRule.BuilderclearSpec()The connectivity rule specification.ConnectivityRule.BuilderclearState().temporal.api.cloud.resource.v1.ResourceState state = 5;ConnectivityRule.Builderclone()java.lang.StringgetAsyncOperationId()The id of the async operation that is creating/updating/deleting the connectivity rule, if any.com.google.protobuf.ByteStringgetAsyncOperationIdBytes()The id of the async operation that is creating/updating/deleting the connectivity rule, if any.com.google.protobuf.TimestampgetCreatedTime()The date and time when the connectivity rule was created.com.google.protobuf.Timestamp.BuildergetCreatedTimeBuilder()The date and time when the connectivity rule was created.com.google.protobuf.TimestampOrBuildergetCreatedTimeOrBuilder()The date and time when the connectivity rule was created.ConnectivityRulegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetId()The id of the private connectivity rule.com.google.protobuf.ByteStringgetIdBytes()The id of the private connectivity rule.java.lang.StringgetResourceVersion()The current version of the connectivity rule specification.com.google.protobuf.ByteStringgetResourceVersionBytes()The current version of the connectivity rule specification.ConnectivityRuleSpecgetSpec()The connectivity rule specification.ConnectivityRuleSpec.BuildergetSpecBuilder()The connectivity rule specification.ConnectivityRuleSpecOrBuildergetSpecOrBuilder()The connectivity rule specification.ResourceStategetState().temporal.api.cloud.resource.v1.ResourceState state = 5;intgetStateValue().temporal.api.cloud.resource.v1.ResourceState state = 5;booleanhasCreatedTime()The date and time when the connectivity rule was created.booleanhasSpec()The connectivity rule specification.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ConnectivityRule.BuildermergeCreatedTime(com.google.protobuf.Timestamp value)The date and time when the connectivity rule was created.ConnectivityRule.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ConnectivityRule.BuildermergeFrom(com.google.protobuf.Message other)ConnectivityRule.BuildermergeFrom(ConnectivityRule other)ConnectivityRule.BuildermergeSpec(ConnectivityRuleSpec value)The connectivity rule specification.ConnectivityRule.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ConnectivityRule.BuildersetAsyncOperationId(java.lang.String value)The id of the async operation that is creating/updating/deleting the connectivity rule, if any.ConnectivityRule.BuildersetAsyncOperationIdBytes(com.google.protobuf.ByteString value)The id of the async operation that is creating/updating/deleting the connectivity rule, if any.ConnectivityRule.BuildersetCreatedTime(com.google.protobuf.Timestamp value)The date and time when the connectivity rule was created.ConnectivityRule.BuildersetCreatedTime(com.google.protobuf.Timestamp.Builder builderForValue)The date and time when the connectivity rule was created.ConnectivityRule.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ConnectivityRule.BuildersetId(java.lang.String value)The id of the private connectivity rule.ConnectivityRule.BuildersetIdBytes(com.google.protobuf.ByteString value)The id of the private connectivity rule.ConnectivityRule.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)ConnectivityRule.BuildersetResourceVersion(java.lang.String value)The current version of the connectivity rule specification.ConnectivityRule.BuildersetResourceVersionBytes(com.google.protobuf.ByteString value)The current version of the connectivity rule specification.ConnectivityRule.BuildersetSpec(ConnectivityRuleSpec value)The connectivity rule specification.ConnectivityRule.BuildersetSpec(ConnectivityRuleSpec.Builder builderForValue)The connectivity rule specification.ConnectivityRule.BuildersetState(ResourceState value).temporal.api.cloud.resource.v1.ResourceState state = 5;ConnectivityRule.BuildersetStateValue(int value).temporal.api.cloud.resource.v1.ResourceState state = 5;ConnectivityRule.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<ConnectivityRule.Builder>
-
clear
public ConnectivityRule.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<ConnectivityRule.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<ConnectivityRule.Builder>
-
getDefaultInstanceForType
public ConnectivityRule getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ConnectivityRule build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ConnectivityRule buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ConnectivityRule.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<ConnectivityRule.Builder>
-
setField
public ConnectivityRule.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<ConnectivityRule.Builder>
-
clearField
public ConnectivityRule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectivityRule.Builder>
-
clearOneof
public ConnectivityRule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectivityRule.Builder>
-
setRepeatedField
public ConnectivityRule.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<ConnectivityRule.Builder>
-
addRepeatedField
public ConnectivityRule.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<ConnectivityRule.Builder>
-
mergeFrom
public ConnectivityRule.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConnectivityRule.Builder>
-
mergeFrom
public ConnectivityRule.Builder mergeFrom(ConnectivityRule other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectivityRule.Builder>
-
mergeFrom
public ConnectivityRule.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<ConnectivityRule.Builder>- Throws:
java.io.IOException
-
getId
public java.lang.String getId()
The id of the private connectivity rule.
string id = 1;- Specified by:
getIdin interfaceConnectivityRuleOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
The id of the private connectivity rule.
string id = 1;- Specified by:
getIdBytesin interfaceConnectivityRuleOrBuilder- Returns:
- The bytes for id.
-
setId
public ConnectivityRule.Builder setId(java.lang.String value)
The id of the private connectivity rule.
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public ConnectivityRule.Builder clearId()
The id of the private connectivity rule.
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
public ConnectivityRule.Builder setIdBytes(com.google.protobuf.ByteString value)
The id of the private connectivity rule.
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
hasSpec
public boolean hasSpec()
The connectivity rule specification.
.temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec spec = 2;- Specified by:
hasSpecin interfaceConnectivityRuleOrBuilder- Returns:
- Whether the spec field is set.
-
getSpec
public ConnectivityRuleSpec getSpec()
The connectivity rule specification.
.temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec spec = 2;- Specified by:
getSpecin interfaceConnectivityRuleOrBuilder- Returns:
- The spec.
-
setSpec
public ConnectivityRule.Builder setSpec(ConnectivityRuleSpec value)
The connectivity rule specification.
.temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec spec = 2;
-
setSpec
public ConnectivityRule.Builder setSpec(ConnectivityRuleSpec.Builder builderForValue)
The connectivity rule specification.
.temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec spec = 2;
-
mergeSpec
public ConnectivityRule.Builder mergeSpec(ConnectivityRuleSpec value)
The connectivity rule specification.
.temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec spec = 2;
-
clearSpec
public ConnectivityRule.Builder clearSpec()
The connectivity rule specification.
.temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec spec = 2;
-
getSpecBuilder
public ConnectivityRuleSpec.Builder getSpecBuilder()
The connectivity rule specification.
.temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec spec = 2;
-
getSpecOrBuilder
public ConnectivityRuleSpecOrBuilder getSpecOrBuilder()
The connectivity rule specification.
.temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec spec = 2;- Specified by:
getSpecOrBuilderin interfaceConnectivityRuleOrBuilder
-
getResourceVersion
public java.lang.String getResourceVersion()
The current version of the connectivity rule specification. The next update operation will have to include this version.
string resource_version = 4;- Specified by:
getResourceVersionin interfaceConnectivityRuleOrBuilder- Returns:
- The resourceVersion.
-
getResourceVersionBytes
public com.google.protobuf.ByteString getResourceVersionBytes()
The current version of the connectivity rule specification. The next update operation will have to include this version.
string resource_version = 4;- Specified by:
getResourceVersionBytesin interfaceConnectivityRuleOrBuilder- Returns:
- The bytes for resourceVersion.
-
setResourceVersion
public ConnectivityRule.Builder setResourceVersion(java.lang.String value)
The current version of the connectivity rule specification. The next update operation will have to include this version.
string resource_version = 4;- Parameters:
value- The resourceVersion to set.- Returns:
- This builder for chaining.
-
clearResourceVersion
public ConnectivityRule.Builder clearResourceVersion()
The current version of the connectivity rule specification. The next update operation will have to include this version.
string resource_version = 4;- Returns:
- This builder for chaining.
-
setResourceVersionBytes
public ConnectivityRule.Builder setResourceVersionBytes(com.google.protobuf.ByteString value)
The current version of the connectivity rule specification. The next update operation will have to include this version.
string resource_version = 4;- Parameters:
value- The bytes for resourceVersion to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()
.temporal.api.cloud.resource.v1.ResourceState state = 5;- Specified by:
getStateValuein interfaceConnectivityRuleOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public ConnectivityRule.Builder setStateValue(int value)
.temporal.api.cloud.resource.v1.ResourceState state = 5;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public ResourceState getState()
.temporal.api.cloud.resource.v1.ResourceState state = 5;- Specified by:
getStatein interfaceConnectivityRuleOrBuilder- Returns:
- The state.
-
setState
public ConnectivityRule.Builder setState(ResourceState value)
.temporal.api.cloud.resource.v1.ResourceState state = 5;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
public ConnectivityRule.Builder clearState()
.temporal.api.cloud.resource.v1.ResourceState state = 5;- Returns:
- This builder for chaining.
-
getAsyncOperationId
public java.lang.String getAsyncOperationId()
The id of the async operation that is creating/updating/deleting the connectivity rule, if any.
string async_operation_id = 6;- Specified by:
getAsyncOperationIdin interfaceConnectivityRuleOrBuilder- Returns:
- The asyncOperationId.
-
getAsyncOperationIdBytes
public com.google.protobuf.ByteString getAsyncOperationIdBytes()
The id of the async operation that is creating/updating/deleting the connectivity rule, if any.
string async_operation_id = 6;- Specified by:
getAsyncOperationIdBytesin interfaceConnectivityRuleOrBuilder- Returns:
- The bytes for asyncOperationId.
-
setAsyncOperationId
public ConnectivityRule.Builder setAsyncOperationId(java.lang.String value)
The id of the async operation that is creating/updating/deleting the connectivity rule, if any.
string async_operation_id = 6;- Parameters:
value- The asyncOperationId to set.- Returns:
- This builder for chaining.
-
clearAsyncOperationId
public ConnectivityRule.Builder clearAsyncOperationId()
The id of the async operation that is creating/updating/deleting the connectivity rule, if any.
string async_operation_id = 6;- Returns:
- This builder for chaining.
-
setAsyncOperationIdBytes
public ConnectivityRule.Builder setAsyncOperationIdBytes(com.google.protobuf.ByteString value)
The id of the async operation that is creating/updating/deleting the connectivity rule, if any.
string async_operation_id = 6;- Parameters:
value- The bytes for asyncOperationId to set.- Returns:
- This builder for chaining.
-
hasCreatedTime
public boolean hasCreatedTime()
The date and time when the connectivity rule was created.
.google.protobuf.Timestamp created_time = 7;- Specified by:
hasCreatedTimein interfaceConnectivityRuleOrBuilder- Returns:
- Whether the createdTime field is set.
-
getCreatedTime
public com.google.protobuf.Timestamp getCreatedTime()
The date and time when the connectivity rule was created.
.google.protobuf.Timestamp created_time = 7;- Specified by:
getCreatedTimein interfaceConnectivityRuleOrBuilder- Returns:
- The createdTime.
-
setCreatedTime
public ConnectivityRule.Builder setCreatedTime(com.google.protobuf.Timestamp value)
The date and time when the connectivity rule was created.
.google.protobuf.Timestamp created_time = 7;
-
setCreatedTime
public ConnectivityRule.Builder setCreatedTime(com.google.protobuf.Timestamp.Builder builderForValue)
The date and time when the connectivity rule was created.
.google.protobuf.Timestamp created_time = 7;
-
mergeCreatedTime
public ConnectivityRule.Builder mergeCreatedTime(com.google.protobuf.Timestamp value)
The date and time when the connectivity rule was created.
.google.protobuf.Timestamp created_time = 7;
-
clearCreatedTime
public ConnectivityRule.Builder clearCreatedTime()
The date and time when the connectivity rule was created.
.google.protobuf.Timestamp created_time = 7;
-
getCreatedTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreatedTimeBuilder()
The date and time when the connectivity rule was created.
.google.protobuf.Timestamp created_time = 7;
-
getCreatedTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreatedTimeOrBuilder()
The date and time when the connectivity rule was created.
.google.protobuf.Timestamp created_time = 7;- Specified by:
getCreatedTimeOrBuilderin interfaceConnectivityRuleOrBuilder
-
setUnknownFields
public final ConnectivityRule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectivityRule.Builder>
-
mergeUnknownFields
public final ConnectivityRule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectivityRule.Builder>
-
-