publicfinalclass RepositoryextendsGeneratedMessageV3implementsRepositoryOrBuilder
A repository associated to a parent connection.
Protobuf type google.devtools.cloudbuild.v2.Repository
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ANNOTATIONS_FIELD_NUMBER
publicstaticfinalintANNOTATIONS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
CREATE_TIME_FIELD_NUMBER
publicstaticfinalintCREATE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
ETAG_FIELD_NUMBER
publicstaticfinalintETAG_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
NAME_FIELD_NUMBER
publicstaticfinalintNAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
REMOTE_URI_FIELD_NUMBER
publicstaticfinalintREMOTE_URI_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
UPDATE_TIME_FIELD_NUMBER
publicstaticfinalintUPDATE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
WEBHOOK_ID_FIELD_NUMBER
publicstaticfinalintWEBHOOK_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticRepositorygetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticRepository.BuildernewBuilder()
newBuilder(Repository prototype)
publicstaticRepository.BuildernewBuilder(Repositoryprototype)
publicstaticRepositoryparseDelimitedFrom(InputStreaminput)
publicstaticRepositoryparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticRepositoryparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticRepositoryparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticRepositoryparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticRepositoryparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticRepositoryparseFrom(CodedInputStreaminput)
publicstaticRepositoryparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticRepositoryparseFrom(InputStreaminput)
publicstaticRepositoryparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticRepositoryparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticRepositoryparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<Repository>parser()
Methods
containsAnnotations(String key)
publicbooleancontainsAnnotations(Stringkey)
Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 6;
| Parameter |
| Name |
Description |
key |
String
|
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAnnotations() (deprecated)
publicMap<String,String>getAnnotations()
getAnnotationsCount()
publicintgetAnnotationsCount()
Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 6;
| Returns |
| Type |
Description |
int |
getAnnotationsMap()
publicMap<String,String>getAnnotationsMap()
Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 6;
getAnnotationsOrDefault(String key, String defaultValue)
publicStringgetAnnotationsOrDefault(Stringkey,StringdefaultValue)
Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 6;
| Returns |
| Type |
Description |
String |
getAnnotationsOrThrow(String key)
publicStringgetAnnotationsOrThrow(Stringkey)
Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 6;
| Parameter |
| Name |
Description |
key |
String
|
| Returns |
| Type |
Description |
String |
getCreateTime()
publicTimestampgetCreateTime()
Output only. Server assigned timestamp for when the connection was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeOrBuilder()
publicTimestampOrBuildergetCreateTimeOrBuilder()
Output only. Server assigned timestamp for when the connection was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
publicRepositorygetDefaultInstanceForType()
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 etag = 7;
| Returns |
| Type |
Description |
String |
The etag.
|
getEtagBytes()
publicByteStringgetEtagBytes()
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 etag = 7;
| Returns |
| Type |
Description |
ByteString |
The bytes for etag.
|
getName()
Immutable. Resource name of the repository, in the format
projects/*/locations/*/connections/*/repositories/*.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns |
| Type |
Description |
String |
The name.
|
getNameBytes()
publicByteStringgetNameBytes()
Immutable. Resource name of the repository, in the format
projects/*/locations/*/connections/*/repositories/*.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns |
| Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
publicParser<Repository>getParserForType()
Overrides
getRemoteUri()
publicStringgetRemoteUri()
Required. Git Clone HTTPS URI.
string remote_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The remoteUri.
|
getRemoteUriBytes()
publicByteStringgetRemoteUriBytes()
Required. Git Clone HTTPS URI.
string remote_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for remoteUri.
|
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
getUpdateTime()
publicTimestampgetUpdateTime()
Output only. Server assigned timestamp for when the connection was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The updateTime.
|
getUpdateTimeOrBuilder()
publicTimestampOrBuildergetUpdateTimeOrBuilder()
Output only. Server assigned timestamp for when the connection was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getWebhookId()
publicStringgetWebhookId()
Output only. External ID of the webhook created for the repository.
string webhook_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The webhookId.
|
getWebhookIdBytes()
publicByteStringgetWebhookIdBytes()
Output only. External ID of the webhook created for the repository.
string webhook_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for webhookId.
|
hasCreateTime()
publicbooleanhasCreateTime()
Output only. Server assigned timestamp for when the connection was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the createTime field is set.
|
hasUpdateTime()
publicbooleanhasUpdateTime()
Output only. Server assigned timestamp for when the connection was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the updateTime field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protectedMapFieldReflectionAccessorinternalGetMapFieldReflection(intnumber)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicRepository.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedRepository.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicRepository.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides