Class ConnectivityRule.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ConnectivityRule.Builder>
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,Cloneable
- Enclosing class:
ConnectivityRule
public static final class ConnectivityRule.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ConnectivityRule.Builder>
implements ConnectivityRuleOrBuilder
Protobuf type
temporal.api.cloud.connectivityrule.v1.ConnectivityRule-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The id of the async operation that is creating/updating/deleting the connectivity rule, if any.The date and time when the connectivity rule was created.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()The id of the private connectivity rule.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The current version of the connectivity rule specification.The connectivity rule specification..temporal.api.cloud.resource.v1.ResourceState state = 5;clone()The id of the async operation that is creating/updating/deleting the connectivity rule, if any.com.google.protobuf.ByteStringThe id of the async operation that is creating/updating/deleting the connectivity rule, if any.com.google.protobuf.TimestampThe date and time when the connectivity rule was created.com.google.protobuf.Timestamp.BuilderThe date and time when the connectivity rule was created.com.google.protobuf.TimestampOrBuilderThe date and time when the connectivity rule was created.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetId()The id of the private connectivity rule.com.google.protobuf.ByteStringThe id of the private connectivity rule.The current version of the connectivity rule specification.com.google.protobuf.ByteStringThe current version of the connectivity rule specification.getSpec()The connectivity rule specification.The connectivity rule specification.The connectivity rule specification.getState().temporal.api.cloud.resource.v1.ResourceState state = 5;int.temporal.api.cloud.resource.v1.ResourceState state = 5;booleanThe date and time when the connectivity rule was created.booleanhasSpec()The connectivity rule specification.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeCreatedTime(com.google.protobuf.Timestamp value) The date and time when the connectivity rule was created.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ConnectivityRule other) mergeSpec(ConnectivityRuleSpec value) The connectivity rule specification.final ConnectivityRule.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAsyncOperationId(String value) The id of the async operation that is creating/updating/deleting the connectivity rule, if any.setAsyncOperationIdBytes(com.google.protobuf.ByteString value) The id of the async operation that is creating/updating/deleting the connectivity rule, if any.setCreatedTime(com.google.protobuf.Timestamp value) The date and time when the connectivity rule was created.setCreatedTime(com.google.protobuf.Timestamp.Builder builderForValue) The date and time when the connectivity rule was created.The id of the private connectivity rule.setIdBytes(com.google.protobuf.ByteString value) The id of the private connectivity rule.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResourceVersion(String value) The current version of the connectivity rule specification.setResourceVersionBytes(com.google.protobuf.ByteString value) The current version of the connectivity rule specification.setSpec(ConnectivityRuleSpec value) The connectivity rule specification.setSpec(ConnectivityRuleSpec.Builder builderForValue) The connectivity rule specification.setState(ResourceState value) .temporal.api.cloud.resource.v1.ResourceState state = 5;setStateValue(int value) .temporal.api.cloud.resource.v1.ResourceState state = 5;final 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, 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<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
- 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<ConnectivityRule.Builder>
-
setField
public ConnectivityRule.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<ConnectivityRule.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectivityRule.Builder>
-
clearOneof
- 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, 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, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConnectivityRule.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConnectivityRule.Builder>
-
mergeFrom
-
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 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:
IOException
-
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
The id of the private connectivity rule.
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
The id of the private connectivity rule.
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
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
The connectivity rule specification.
.temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec spec = 2;- Specified by:
getSpecin interfaceConnectivityRuleOrBuilder- Returns:
- The spec.
-
setSpec
The connectivity rule specification.
.temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec spec = 2; -
setSpec
The connectivity rule specification.
.temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec spec = 2; -
mergeSpec
The connectivity rule specification.
.temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec spec = 2; -
clearSpec
The connectivity rule specification.
.temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec spec = 2; -
getSpecBuilder
The connectivity rule specification.
.temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec spec = 2; -
getSpecOrBuilder
The connectivity rule specification.
.temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec spec = 2;- Specified by:
getSpecOrBuilderin interfaceConnectivityRuleOrBuilder
-
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
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
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
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
.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
.temporal.api.cloud.resource.v1.ResourceState state = 5;- Specified by:
getStatein interfaceConnectivityRuleOrBuilder- Returns:
- The state.
-
setState
.temporal.api.cloud.resource.v1.ResourceState state = 5;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
.temporal.api.cloud.resource.v1.ResourceState state = 5;- Returns:
- This builder for chaining.
-
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
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
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
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
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
The date and time when the connectivity rule was created.
.google.protobuf.Timestamp created_time = 7; -
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>
-