Interface UpdateConnectionRequestOrBuilder (3.17.0)

public interface UpdateConnectionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowMissing()

public abstract boolean getAllowMissing()

If set to true, and the connection is not found a new connection will be created. In this situation update_mask is ignored. The creation will succeed only if the input connection has all the necessary information (e.g a github_config with both user_oauth_token and installation_id properties).

bool allow_missing = 3;

Returns
TypeDescription
boolean

The allowMissing.

getConnection()

public abstract Connection getConnection()

Required. The Connection to update.

.google.devtools.cloudbuild.v2.Connection connection = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Connection

The connection.

getConnectionOrBuilder()

public abstract ConnectionOrBuilder getConnectionOrBuilder()

Required. The Connection to update.

.google.devtools.cloudbuild.v2.Connection connection = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ConnectionOrBuilder

getEtag()

public abstract String getEtag()

The current etag of the connection. If an etag is provided and does not match the current etag of the connection, update will be blocked and an ABORTED error will be returned.

string etag = 4;

Returns
TypeDescription
String

The etag.

getEtagBytes()

public abstract ByteString getEtagBytes()

The current etag of the connection. If an etag is provided and does not match the current etag of the connection, update will be blocked and an ABORTED error will be returned.

string etag = 4;

Returns
TypeDescription
ByteString

The bytes for etag.

getUpdateMask()

public abstract FieldMask getUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

hasConnection()

public abstract boolean hasConnection()

Required. The Connection to update.

.google.devtools.cloudbuild.v2.Connection connection = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the connection field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
boolean

Whether the updateMask field is set.