public final class Repo extends 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 Source Repositories API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Repo() |
| Modifier and Type | Method and Description |
|---|---|
Repo |
clone() |
MirrorConfig |
getMirrorConfig()
How this repository mirrors a repository managed by another service.
|
String |
getName()
Resource name of the repository, of the form `projects//repos/`.
|
Map<String,PubsubConfig> |
getPubsubConfigs()
How this repository publishes a change in the repository through Cloud Pub/Sub.
|
Long |
getSize()
The disk usage of the repo, in bytes.
|
String |
getUrl()
URL to clone the repository from Google Cloud Source Repositories.
|
Repo |
set(String fieldName,
Object value) |
Repo |
setMirrorConfig(MirrorConfig mirrorConfig)
How this repository mirrors a repository managed by another service.
|
Repo |
setName(String name)
Resource name of the repository, of the form `projects//repos/`.
|
Repo |
setPubsubConfigs(Map<String,PubsubConfig> pubsubConfigs)
How this repository publishes a change in the repository through Cloud Pub/Sub.
|
Repo |
setSize(Long size)
The disk usage of the repo, in bytes.
|
Repo |
setUrl(String url)
URL to clone the repository from Google Cloud Source Repositories.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic MirrorConfig getMirrorConfig()
null for nonepublic Repo setMirrorConfig(MirrorConfig mirrorConfig)
mirrorConfig - mirrorConfig or null for nonepublic String getName()
null for nonepublic Repo setName(String name)
name - name or null for nonepublic Map<String,PubsubConfig> getPubsubConfigs()
null for nonepublic Repo setPubsubConfigs(Map<String,PubsubConfig> pubsubConfigs)
pubsubConfigs - pubsubConfigs or null for nonepublic Long getSize()
null for nonepublic Repo setSize(Long size)
size - size or null for nonepublic String getUrl()
null for nonepublic Repo setUrl(String url)
url - url or null for nonepublic Repo set(String fieldName, Object value)
set in class GenericJsonpublic Repo clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.