Class MarkInsightAcceptedRequest.Builder

    • 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<MarkInsightAcceptedRequest.Builder>
      • internalGetMutableMapField

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MarkInsightAcceptedRequest.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<MarkInsightAcceptedRequest.Builder>
      • getDefaultInstanceForType

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

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

        public MarkInsightAcceptedRequest 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<MarkInsightAcceptedRequest.Builder>
      • mergeFrom

        public MarkInsightAcceptedRequest.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<MarkInsightAcceptedRequest.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Required. Name of the insight.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getName in interface MarkInsightAcceptedRequestOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Required. Name of the insight.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getNameBytes in interface MarkInsightAcceptedRequestOrBuilder
        Returns:
        The bytes for name.
      • setName

        public MarkInsightAcceptedRequest.Builder setName​(String value)
         Required. Name of the insight.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public MarkInsightAcceptedRequest.Builder clearName()
         Required. Name of the insight.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setNameBytes

        public MarkInsightAcceptedRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Required. Name of the insight.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • containsStateMetadata

        public boolean containsStateMetadata​(String key)
         Optional. State properties user wish to include with this state.  Full
         replace of the current state_metadata.
         
        map<string, string> state_metadata = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        containsStateMetadata in interface MarkInsightAcceptedRequestOrBuilder
      • getStateMetadataMap

        public Map<String,​String> getStateMetadataMap()
         Optional. State properties user wish to include with this state.  Full
         replace of the current state_metadata.
         
        map<string, string> state_metadata = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getStateMetadataMap in interface MarkInsightAcceptedRequestOrBuilder
      • getStateMetadataOrThrow

        public String getStateMetadataOrThrow​(String key)
         Optional. State properties user wish to include with this state.  Full
         replace of the current state_metadata.
         
        map<string, string> state_metadata = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getStateMetadataOrThrow in interface MarkInsightAcceptedRequestOrBuilder
      • removeStateMetadata

        public MarkInsightAcceptedRequest.Builder removeStateMetadata​(String key)
         Optional. State properties user wish to include with this state.  Full
         replace of the current state_metadata.
         
        map<string, string> state_metadata = 2 [(.google.api.field_behavior) = OPTIONAL];
      • getMutableStateMetadata

        @Deprecated
        public Map<String,​String> getMutableStateMetadata()
        Deprecated.
        Use alternate mutation accessors instead.
      • putStateMetadata

        public MarkInsightAcceptedRequest.Builder putStateMetadata​(String key,
                                                                   String value)
         Optional. State properties user wish to include with this state.  Full
         replace of the current state_metadata.
         
        map<string, string> state_metadata = 2 [(.google.api.field_behavior) = OPTIONAL];
      • putAllStateMetadata

        public MarkInsightAcceptedRequest.Builder putAllStateMetadata​(Map<String,​String> values)
         Optional. State properties user wish to include with this state.  Full
         replace of the current state_metadata.
         
        map<string, string> state_metadata = 2 [(.google.api.field_behavior) = OPTIONAL];
      • getEtag

        public String getEtag()
         Required. Fingerprint of the Insight. Provides optimistic locking.
         
        string etag = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getEtag in interface MarkInsightAcceptedRequestOrBuilder
        Returns:
        The etag.
      • getEtagBytes

        public com.google.protobuf.ByteString getEtagBytes()
         Required. Fingerprint of the Insight. Provides optimistic locking.
         
        string etag = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getEtagBytes in interface MarkInsightAcceptedRequestOrBuilder
        Returns:
        The bytes for etag.
      • setEtag

        public MarkInsightAcceptedRequest.Builder setEtag​(String value)
         Required. Fingerprint of the Insight. Provides optimistic locking.
         
        string etag = 3 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The etag to set.
        Returns:
        This builder for chaining.
      • clearEtag

        public MarkInsightAcceptedRequest.Builder clearEtag()
         Required. Fingerprint of the Insight. Provides optimistic locking.
         
        string etag = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setEtagBytes

        public MarkInsightAcceptedRequest.Builder setEtagBytes​(com.google.protobuf.ByteString value)
         Required. Fingerprint of the Insight. Provides optimistic locking.
         
        string etag = 3 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for etag to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final MarkInsightAcceptedRequest.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<MarkInsightAcceptedRequest.Builder>
      • mergeUnknownFields

        public final MarkInsightAcceptedRequest.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<MarkInsightAcceptedRequest.Builder>