Class GitRepositoryLink (0.4.0)

public final class GitRepositoryLink extends GeneratedMessageV3 implements GitRepositoryLinkOrBuilder

Message describing the GitRepositoryLink object

Protobuf type google.cloud.developerconnect.v1.GitRepositoryLink

Static Fields

public static final int ANNOTATIONS_FIELD_NUMBER
Field Value
Type Description
int
public static final int CLONE_URI_FIELD_NUMBER
Field Value
Type Description
int
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int
public static final int DELETE_TIME_FIELD_NUMBER
Field Value
Type Description
int
public static final int ETAG_FIELD_NUMBER
Field Value
Type Description
int
public static final int LABELS_FIELD_NUMBER
Field Value
Type Description
int
public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int
public static final int RECONCILING_FIELD_NUMBER
Field Value
Type Description
int
public static final int UID_FIELD_NUMBER
Field Value
Type Description
int
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

public static GitRepositoryLink getDefaultInstance()
Returns
Type Description
GitRepositoryLink
public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor
public static GitRepositoryLink.Builder newBuilder()
Returns
Type Description
GitRepositoryLink.Builder
public static GitRepositoryLink.Builder newBuilder(GitRepositoryLink prototype)
Parameter
Name Description
prototype GitRepositoryLink
Returns
Type Description
GitRepositoryLink.Builder
public static GitRepositoryLink parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GitRepositoryLink
Exceptions
Type Description
IOException
public static GitRepositoryLink parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitRepositoryLink
Exceptions
Type Description
IOException
public static GitRepositoryLink parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GitRepositoryLink
Exceptions
Type Description
InvalidProtocolBufferException
public static GitRepositoryLink parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitRepositoryLink
Exceptions
Type Description
InvalidProtocolBufferException
public static GitRepositoryLink parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GitRepositoryLink
Exceptions
Type Description
InvalidProtocolBufferException
public static GitRepositoryLink parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitRepositoryLink
Exceptions
Type Description
InvalidProtocolBufferException
public static GitRepositoryLink parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GitRepositoryLink
Exceptions
Type Description
IOException
public static GitRepositoryLink parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitRepositoryLink
Exceptions
Type Description
IOException
public static GitRepositoryLink parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GitRepositoryLink
Exceptions
Type Description
IOException
public static GitRepositoryLink parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitRepositoryLink
Exceptions
Type Description
IOException
public static GitRepositoryLink parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GitRepositoryLink
Exceptions
Type Description
InvalidProtocolBufferException
public static GitRepositoryLink parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitRepositoryLink
Exceptions
Type Description
InvalidProtocolBufferException
public static Parser<GitRepositoryLink> parser()
Returns
Type Description
Parser<GitRepositoryLink>

Methods

public boolean containsAnnotations(String key)

Optional. Allows clients to store small amounts of arbitrary data.

map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean
public boolean containsLabels(String key)

Optional. Labels as key value pairs

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean
public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides
public Map<String,String> getAnnotations()

Use #getAnnotationsMap() instead.

Returns
Type Description
Map<String,String>
public int getAnnotationsCount()

Optional. Allows clients to store small amounts of arbitrary data.

map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int
public Map<String,String> getAnnotationsMap()

Optional. Allows clients to store small amounts of arbitrary data.

map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>
public String getAnnotationsOrDefault(String key, String defaultValue)

Optional. Allows clients to store small amounts of arbitrary data.

map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String
public String getAnnotationsOrThrow(String key)

Optional. Allows clients to store small amounts of arbitrary data.

map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String
public String getCloneUri()

Required. Git Clone URI.

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

Returns
Type Description
String

The cloneUri.

public ByteString getCloneUriBytes()

Required. Git Clone URI.

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

Returns
Type Description
ByteString

The bytes for cloneUri.

public Timestamp getCreateTime()

Output only. [Output only] Create timestamp

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. [Output only] Create timestamp

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder
public GitRepositoryLink getDefaultInstanceForType()
Returns
Type Description
GitRepositoryLink
public Timestamp getDeleteTime()

Output only. [Output only] Delete timestamp

.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The deleteTime.

public TimestampOrBuilder getDeleteTimeOrBuilder()

Output only. [Output only] Delete timestamp

.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder
public String getEtag()

Optional. 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 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The etag.

public ByteString getEtagBytes()

Optional. 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 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for etag.

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>
public int getLabelsCount()

Optional. Labels as key value pairs

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int
public Map<String,String> getLabelsMap()

Optional. Labels as key value pairs

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>
public String getLabelsOrDefault(String key, String defaultValue)

Optional. Labels as key value pairs

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String
public String getLabelsOrThrow(String key)

Optional. Labels as key value pairs

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String
public String getName()

Identifier. Resource name of the repository, in the format projects/*/locations/*/connections/*/gitRepositoryLinks/*.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

public ByteString getNameBytes()

Identifier. Resource name of the repository, in the format projects/*/locations/*/connections/*/gitRepositoryLinks/*.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

public Parser<GitRepositoryLink> getParserForType()
Returns
Type Description
Parser<GitRepositoryLink>
Overrides
public boolean getReconciling()

Output only. Set to true when the connection is being set up or updated in the background.

bool reconciling = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The reconciling.

public int getSerializedSize()
Returns
Type Description
int
Overrides
public String getUid()

Output only. A system-assigned unique identifier for a the GitRepositoryLink.

string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Returns
Type Description
String

The uid.

public ByteString getUidBytes()

Output only. A system-assigned unique identifier for a the GitRepositoryLink.

string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for uid.

public Timestamp getUpdateTime()

Output only. [Output only] Update timestamp

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. [Output only] Update timestamp

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder
public boolean hasCreateTime()

Output only. [Output only] Create timestamp

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

public boolean hasDeleteTime()

Output only. [Output only] Delete timestamp

.google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the deleteTime field is set.

public boolean hasUpdateTime()

Output only. [Output only] Update timestamp

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

public int hashCode()
Returns
Type Description
int
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
public GitRepositoryLink.Builder newBuilderForType()
Returns
Type Description
GitRepositoryLink.Builder
protected GitRepositoryLink.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GitRepositoryLink.Builder
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides
public GitRepositoryLink.Builder toBuilder()
Returns
Type Description
GitRepositoryLink.Builder
public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException