Class CreateConnectivityRuleRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CreateConnectivityRuleRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CreateConnectivityRuleRequest.Builder>
      • getDefaultInstanceForType

        public CreateConnectivityRuleRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public CreateConnectivityRuleRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public CreateConnectivityRuleRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public CreateConnectivityRuleRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                      int index,
                                                                      java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateConnectivityRuleRequest.Builder>
      • addRepeatedField

        public CreateConnectivityRuleRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                      java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateConnectivityRuleRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CreateConnectivityRuleRequest.Builder>
      • mergeFrom

        public CreateConnectivityRuleRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateConnectivityRuleRequest.Builder>
        Throws:
        java.io.IOException
      • hasSpec

        public boolean hasSpec()
         The connectivity rule specification.
         
        .temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec spec = 1;
        Specified by:
        hasSpec in interface CreateConnectivityRuleRequestOrBuilder
        Returns:
        Whether the spec field is set.
      • getSpecBuilder

        public ConnectivityRuleSpec.Builder getSpecBuilder()
         The connectivity rule specification.
         
        .temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec spec = 1;
      • getAsyncOperationId

        public java.lang.String getAsyncOperationId()
         The id to use for this async operation.
         Optional, if not provided a random id will be generated.
         
        string async_operation_id = 2;
        Specified by:
        getAsyncOperationId in interface CreateConnectivityRuleRequestOrBuilder
        Returns:
        The asyncOperationId.
      • getAsyncOperationIdBytes

        public com.google.protobuf.ByteString getAsyncOperationIdBytes()
         The id to use for this async operation.
         Optional, if not provided a random id will be generated.
         
        string async_operation_id = 2;
        Specified by:
        getAsyncOperationIdBytes in interface CreateConnectivityRuleRequestOrBuilder
        Returns:
        The bytes for asyncOperationId.
      • setAsyncOperationId

        public CreateConnectivityRuleRequest.Builder setAsyncOperationId​(java.lang.String value)
         The id to use for this async operation.
         Optional, if not provided a random id will be generated.
         
        string async_operation_id = 2;
        Parameters:
        value - The asyncOperationId to set.
        Returns:
        This builder for chaining.
      • clearAsyncOperationId

        public CreateConnectivityRuleRequest.Builder clearAsyncOperationId()
         The id to use for this async operation.
         Optional, if not provided a random id will be generated.
         
        string async_operation_id = 2;
        Returns:
        This builder for chaining.
      • setAsyncOperationIdBytes

        public CreateConnectivityRuleRequest.Builder setAsyncOperationIdBytes​(com.google.protobuf.ByteString value)
         The id to use for this async operation.
         Optional, if not provided a random id will be generated.
         
        string async_operation_id = 2;
        Parameters:
        value - The bytes for asyncOperationId to set.
        Returns:
        This builder for chaining.