public final class Hash
extends com.google.api.client.json.GenericJson
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 Cloud Build API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Hash() |
Modifier and Type | Method and Description |
---|---|
Hash |
clone() |
byte[] |
decodeValue()
The hash value.
|
Hash |
encodeValue(byte[] value)
The hash value.
|
java.lang.String |
getType()
The type of hash that was performed.
|
java.lang.String |
getValue()
The hash value.
|
Hash |
set(java.lang.String fieldName,
java.lang.Object value) |
Hash |
setType(java.lang.String type)
The type of hash that was performed.
|
Hash |
setValue(java.lang.String value)
The hash value.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getType()
null
for nonepublic Hash setType(java.lang.String type)
type
- type or null
for nonepublic java.lang.String getValue()
null
for nonedecodeValue()
public byte[] decodeValue()
null
for nonegetValue()
public Hash setValue(java.lang.String value)
value
- value or null
for none#encodeValue()
public Hash encodeValue(byte[] value)
The value is encoded Base64 or {@code null} for none.
public Hash set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Hash clone()
clone
in class com.google.api.client.json.GenericJson