Class ApplyResults.Builder

  • All Implemented Interfaces:
    ApplyResultsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    ApplyResults

    public static final class ApplyResults.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
    implements ApplyResultsOrBuilder
     Outputs and artifacts from applying a deployment.
     
    Protobuf type google.cloud.config.v1.ApplyResults
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
      • internalGetFieldAccessorTable

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

        public ApplyResults.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.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<ApplyResults.Builder>
      • getDefaultInstanceForType

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

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

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

        public ApplyResults.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
      • setField

        public ApplyResults.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                             Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
      • clearField

        public ApplyResults.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
      • clearOneof

        public ApplyResults.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
      • setRepeatedField

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

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

        public ApplyResults.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ApplyResults.Builder>
      • isInitialized

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

        public ApplyResults.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws 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<ApplyResults.Builder>
        Throws:
        IOException
      • getContent

        public String getContent()
         Location of a blueprint copy and other manifests in Google Cloud Storage.
         Format: `gs://{bucket}/{object}`
         
        string content = 1;
        Specified by:
        getContent in interface ApplyResultsOrBuilder
        Returns:
        The content.
      • getContentBytes

        public com.google.protobuf.ByteString getContentBytes()
         Location of a blueprint copy and other manifests in Google Cloud Storage.
         Format: `gs://{bucket}/{object}`
         
        string content = 1;
        Specified by:
        getContentBytes in interface ApplyResultsOrBuilder
        Returns:
        The bytes for content.
      • setContent

        public ApplyResults.Builder setContent​(String value)
         Location of a blueprint copy and other manifests in Google Cloud Storage.
         Format: `gs://{bucket}/{object}`
         
        string content = 1;
        Parameters:
        value - The content to set.
        Returns:
        This builder for chaining.
      • clearContent

        public ApplyResults.Builder clearContent()
         Location of a blueprint copy and other manifests in Google Cloud Storage.
         Format: `gs://{bucket}/{object}`
         
        string content = 1;
        Returns:
        This builder for chaining.
      • setContentBytes

        public ApplyResults.Builder setContentBytes​(com.google.protobuf.ByteString value)
         Location of a blueprint copy and other manifests in Google Cloud Storage.
         Format: `gs://{bucket}/{object}`
         
        string content = 1;
        Parameters:
        value - The bytes for content to set.
        Returns:
        This builder for chaining.
      • getArtifacts

        public String getArtifacts()
         Location of artifacts (e.g. logs) in Google Cloud Storage.
         Format: `gs://{bucket}/{object}`
         
        string artifacts = 2;
        Specified by:
        getArtifacts in interface ApplyResultsOrBuilder
        Returns:
        The artifacts.
      • getArtifactsBytes

        public com.google.protobuf.ByteString getArtifactsBytes()
         Location of artifacts (e.g. logs) in Google Cloud Storage.
         Format: `gs://{bucket}/{object}`
         
        string artifacts = 2;
        Specified by:
        getArtifactsBytes in interface ApplyResultsOrBuilder
        Returns:
        The bytes for artifacts.
      • setArtifacts

        public ApplyResults.Builder setArtifacts​(String value)
         Location of artifacts (e.g. logs) in Google Cloud Storage.
         Format: `gs://{bucket}/{object}`
         
        string artifacts = 2;
        Parameters:
        value - The artifacts to set.
        Returns:
        This builder for chaining.
      • clearArtifacts

        public ApplyResults.Builder clearArtifacts()
         Location of artifacts (e.g. logs) in Google Cloud Storage.
         Format: `gs://{bucket}/{object}`
         
        string artifacts = 2;
        Returns:
        This builder for chaining.
      • setArtifactsBytes

        public ApplyResults.Builder setArtifactsBytes​(com.google.protobuf.ByteString value)
         Location of artifacts (e.g. logs) in Google Cloud Storage.
         Format: `gs://{bucket}/{object}`
         
        string artifacts = 2;
        Parameters:
        value - The bytes for artifacts to set.
        Returns:
        This builder for chaining.
      • containsOutputs

        public boolean containsOutputs​(String key)
         Map of output name to output info.
         
        map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3;
        Specified by:
        containsOutputs in interface ApplyResultsOrBuilder
      • removeOutputs

        public ApplyResults.Builder removeOutputs​(String key)
         Map of output name to output info.
         
        map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3;
      • setUnknownFields

        public final ApplyResults.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
      • mergeUnknownFields

        public final ApplyResults.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>