All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.containeranalysis.v1.model.SbomReferenceIntotoPredicate Maven / Gradle / Ivy

There is a newer version: v1-rev20240816-2.0.0
Show newest version
/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.containeranalysis.v1.model;

/**
 * A predicate which describes the SBOM being referenced.
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Container Analysis API. For a detailed explanation * see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class SbomReferenceIntotoPredicate extends com.google.api.client.json.GenericJson { /** * A map of algorithm to digest of the contents of the SBOM. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.Map digest; /** * The location of the SBOM. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String location; /** * The mime type of the SBOM. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String mimeType; /** * The person or system referring this predicate to the consumer. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String referrerId; /** * A map of algorithm to digest of the contents of the SBOM. * @return value or {@code null} for none */ public java.util.Map getDigest() { return digest; } /** * A map of algorithm to digest of the contents of the SBOM. * @param digest digest or {@code null} for none */ public SbomReferenceIntotoPredicate setDigest(java.util.Map digest) { this.digest = digest; return this; } /** * The location of the SBOM. * @return value or {@code null} for none */ public java.lang.String getLocation() { return location; } /** * The location of the SBOM. * @param location location or {@code null} for none */ public SbomReferenceIntotoPredicate setLocation(java.lang.String location) { this.location = location; return this; } /** * The mime type of the SBOM. * @return value or {@code null} for none */ public java.lang.String getMimeType() { return mimeType; } /** * The mime type of the SBOM. * @param mimeType mimeType or {@code null} for none */ public SbomReferenceIntotoPredicate setMimeType(java.lang.String mimeType) { this.mimeType = mimeType; return this; } /** * The person or system referring this predicate to the consumer. * @return value or {@code null} for none */ public java.lang.String getReferrerId() { return referrerId; } /** * The person or system referring this predicate to the consumer. * @param referrerId referrerId or {@code null} for none */ public SbomReferenceIntotoPredicate setReferrerId(java.lang.String referrerId) { this.referrerId = referrerId; return this; } @Override public SbomReferenceIntotoPredicate set(String fieldName, Object value) { return (SbomReferenceIntotoPredicate) super.set(fieldName, value); } @Override public SbomReferenceIntotoPredicate clone() { return (SbomReferenceIntotoPredicate) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy