public final class Repository
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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Repository() |
Modifier and Type | Method and Description |
---|---|
Repository |
clone() |
Map<String,String> |
getAnnotations()
Optional.
|
String |
getCreateTime()
Output only.
|
String |
getEtag()
This checksum is computed by the server based on the value of other fields, and may be sent on
update and delete requests to ensure the client has an up-to-date value before proceeding.
|
String |
getName()
Immutable.
|
String |
getRemoteUri()
Required.
|
String |
getUpdateTime()
Output only.
|
String |
getWebhookId()
Output only.
|
Repository |
set(String fieldName,
Object value) |
Repository |
setAnnotations(Map<String,String> annotations)
Optional.
|
Repository |
setCreateTime(String createTime)
Output only.
|
Repository |
setEtag(String etag)
This checksum is computed by the server based on the value of other fields, and may be sent on
update and delete requests to ensure the client has an up-to-date value before proceeding.
|
Repository |
setName(String name)
Immutable.
|
Repository |
setRemoteUri(String remoteUri)
Required.
|
Repository |
setUpdateTime(String updateTime)
Output only.
|
Repository |
setWebhookId(String webhookId)
Output only.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Map<String,String> getAnnotations()
null
for nonepublic Repository setAnnotations(Map<String,String> annotations)
annotations
- annotations or null
for nonepublic String getCreateTime()
null
for nonepublic Repository setCreateTime(String createTime)
createTime
- createTime or null
for nonepublic String getEtag()
null
for nonepublic Repository setEtag(String etag)
etag
- etag or null
for nonepublic String getName()
null
for nonepublic Repository setName(String name)
name
- name or null
for nonepublic String getRemoteUri()
null
for nonepublic Repository setRemoteUri(String remoteUri)
remoteUri
- remoteUri or null
for nonepublic String getUpdateTime()
null
for nonepublic Repository setUpdateTime(String updateTime)
updateTime
- updateTime or null
for nonepublic String getWebhookId()
null
for nonepublic Repository setWebhookId(String webhookId)
webhookId
- webhookId or null
for nonepublic Repository set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Repository clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.