public final class Repository extends GeneratedMessageV3 implements RepositoryOrBuilder
A repository associated to a parent connection.
Protobuf type google.devtools.cloudbuild.v2.Repository
Static Fields
public static final int ANNOTATIONS_FIELD_NUMBER
Field Value
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
public static final int ETAG_FIELD_NUMBER
Field Value
public static final int NAME_FIELD_NUMBER
Field Value
public static final int REMOTE_URI_FIELD_NUMBER
Field Value
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Static Methods
public static Repository getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static Repository.Builder newBuilder()
Returns
public static Repository.Builder newBuilder(Repository prototype)
Parameter
Returns
public static Repository parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Repository parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Repository parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static Repository parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Repository parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static Repository parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Repository parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Repository parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Repository parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Repository parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Repository parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static Repository parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<Repository> parser()
Returns
Methods
public boolean containsAnnotations(String key)
Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 6;
Parameter
Returns
public boolean equals(Object obj)
Parameter
Returns
Overrides
public Map<String,String> getAnnotations()
Returns
public int getAnnotationsCount()
Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 6;
Returns
public Map<String,String> getAnnotationsMap()
Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 6;
Returns
public String getAnnotationsOrDefault(String key, String defaultValue)
Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 6;
Parameters
Returns
public String getAnnotationsOrThrow(String key)
Allows clients to store small amounts of arbitrary data.
map<string, string> annotations = 6;
Parameter
Returns
public Timestamp getCreateTime()
Output only. Server assigned timestamp for when the connection was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Server assigned timestamp for when the connection was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public Repository getDefaultInstanceForType()
Returns
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.
|
public ByteString getEtagBytes()
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
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.
|
public ByteString getNameBytes()
Immutable. Resource name of the repository, in the format
projects/*/locations/*/connections/*/repositories/*
.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns
public Parser<Repository> getParserForType()
Returns
Overrides
public String getRemoteUri()
Required. Git Clone HTTPS URI.
string remote_uri = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The remoteUri.
|
public ByteString getRemoteUriBytes()
Required. Git Clone HTTPS URI.
string remote_uri = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public Timestamp getUpdateTime()
Output only. Server assigned timestamp for when the connection was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Server assigned timestamp for when the connection was updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public boolean hasCreateTime()
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.
|
public boolean hasUpdateTime()
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Repository.Builder newBuilderForType()
Returns
protected Repository.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public Repository.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions