Interface MarkRecommendationFailedRequestOrBuilder

    • Method Detail

      • getName

        String getName()
         Required. Name of the recommendation.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Required. Name of the recommendation.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for name.
      • getStateMetadataCount

        int getStateMetadataCount()
         State properties to include with this state. Overwrites any existing
         `state_metadata`.
         Keys must match the regex `/^[a-z0-9][a-z0-9_.-]{0,62}$/`.
         Values must match the regex `/^[a-zA-Z0-9_./-]{0,255}$/`.
         
        map<string, string> state_metadata = 2;
      • containsStateMetadata

        boolean containsStateMetadata​(String key)
         State properties to include with this state. Overwrites any existing
         `state_metadata`.
         Keys must match the regex `/^[a-z0-9][a-z0-9_.-]{0,62}$/`.
         Values must match the regex `/^[a-zA-Z0-9_./-]{0,255}$/`.
         
        map<string, string> state_metadata = 2;
      • getStateMetadataMap

        Map<String,​String> getStateMetadataMap()
         State properties to include with this state. Overwrites any existing
         `state_metadata`.
         Keys must match the regex `/^[a-z0-9][a-z0-9_.-]{0,62}$/`.
         Values must match the regex `/^[a-zA-Z0-9_./-]{0,255}$/`.
         
        map<string, string> state_metadata = 2;
      • getStateMetadataOrDefault

        String getStateMetadataOrDefault​(String key,
                                         String defaultValue)
         State properties to include with this state. Overwrites any existing
         `state_metadata`.
         Keys must match the regex `/^[a-z0-9][a-z0-9_.-]{0,62}$/`.
         Values must match the regex `/^[a-zA-Z0-9_./-]{0,255}$/`.
         
        map<string, string> state_metadata = 2;
      • getStateMetadataOrThrow

        String getStateMetadataOrThrow​(String key)
         State properties to include with this state. Overwrites any existing
         `state_metadata`.
         Keys must match the regex `/^[a-z0-9][a-z0-9_.-]{0,62}$/`.
         Values must match the regex `/^[a-zA-Z0-9_./-]{0,255}$/`.
         
        map<string, string> state_metadata = 2;
      • getEtag

        String getEtag()
         Required. Fingerprint of the Recommendation. Provides optimistic locking.
         
        string etag = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The etag.
      • getEtagBytes

        com.google.protobuf.ByteString getEtagBytes()
         Required. Fingerprint of the Recommendation. Provides optimistic locking.
         
        string etag = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for etag.