Class ExportDeploymentStatefileRequest.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<ExportDeploymentStatefileRequest.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<ExportDeploymentStatefileRequest.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public String getParent()
         Required. The parent in whose context the statefile is listed. The parent
         value is in the format:
         'projects/{project_id}/locations/{location}/deployments/{deployment}'.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface ExportDeploymentStatefileRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. The parent in whose context the statefile is listed. The parent
         value is in the format:
         'projects/{project_id}/locations/{location}/deployments/{deployment}'.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface ExportDeploymentStatefileRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public ExportDeploymentStatefileRequest.Builder setParent​(String value)
         Required. The parent in whose context the statefile is listed. The parent
         value is in the format:
         'projects/{project_id}/locations/{location}/deployments/{deployment}'.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • clearParent

        public ExportDeploymentStatefileRequest.Builder clearParent()
         Required. The parent in whose context the statefile is listed. The parent
         value is in the format:
         'projects/{project_id}/locations/{location}/deployments/{deployment}'.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public ExportDeploymentStatefileRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. The parent in whose context the statefile is listed. The parent
         value is in the format:
         'projects/{project_id}/locations/{location}/deployments/{deployment}'.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • getDraft

        public boolean getDraft()
         Optional. If this flag is set to true, the exported deployment state file
         will be the draft state. This will enable the draft file to be validated
         before copying it over to the working state on unlock.
         
        bool draft = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDraft in interface ExportDeploymentStatefileRequestOrBuilder
        Returns:
        The draft.
      • setDraft

        public ExportDeploymentStatefileRequest.Builder setDraft​(boolean value)
         Optional. If this flag is set to true, the exported deployment state file
         will be the draft state. This will enable the draft file to be validated
         before copying it over to the working state on unlock.
         
        bool draft = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The draft to set.
        Returns:
        This builder for chaining.
      • clearDraft

        public ExportDeploymentStatefileRequest.Builder clearDraft()
         Optional. If this flag is set to true, the exported deployment state file
         will be the draft state. This will enable the draft file to be validated
         before copying it over to the working state on unlock.
         
        bool draft = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.