Interface RepositoryOrBuilder (3.50.0)

public interface RepositoryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsAnnotations(String key)

public abstract boolean containsAnnotations(String key)

Allows clients to store small amounts of arbitrary data.

map<string, string> annotations = 6;

Parameter
Name Description
key String
Returns
Type Description
boolean

getAnnotations() (deprecated)

public abstract Map<String,String> getAnnotations()

Use #getAnnotationsMap() instead.

Returns
Type Description
Map<String,String>

getAnnotationsCount()

public abstract int getAnnotationsCount()

Allows clients to store small amounts of arbitrary data.

map<string, string> annotations = 6;

Returns
Type Description
int

getAnnotationsMap()

public abstract Map<String,String> getAnnotationsMap()

Allows clients to store small amounts of arbitrary data.

map<string, string> annotations = 6;

Returns
Type Description
Map<String,String>

getAnnotationsOrDefault(String key, String defaultValue)

public abstract String getAnnotationsOrDefault(String key, String defaultValue)

Allows clients to store small amounts of arbitrary data.

map<string, string> annotations = 6;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getAnnotationsOrThrow(String key)

public abstract String getAnnotationsOrThrow(String key)

Allows clients to store small amounts of arbitrary data.

map<string, string> annotations = 6;

Parameter
Name Description
key String
Returns
Type Description
String

getCreateTime()

public abstract 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
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract 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
Type Description
TimestampOrBuilder

getEtag()

public abstract 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 etag = 7;

Returns
Type Description
String

The etag.

getEtagBytes()

public abstract 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
Type Description
ByteString

The bytes for etag.

getName()

public abstract String 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()

public abstract ByteString getNameBytes()

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.

getRemoteUri()

public abstract String getRemoteUri()

Required. Git Clone HTTPS URI.

string remote_uri = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The remoteUri.

getRemoteUriBytes()

public abstract ByteString getRemoteUriBytes()

Required. Git Clone HTTPS URI.

string remote_uri = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for remoteUri.

getUpdateTime()

public abstract 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
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract 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
Type Description
TimestampOrBuilder

getWebhookId()

public abstract String getWebhookId()

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()

public abstract ByteString getWebhookIdBytes()

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()

public abstract 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.

hasUpdateTime()

public abstract 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.