Interface UpdateFileRequestOrBuilder (1.52.0)

public interface UpdateFileRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFile()

public abstract File getFile()

Required. The File that replaces the resource on the server.

.google.devtools.artifactregistry.v1.File file = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
File

The file.

getFileOrBuilder()

public abstract FileOrBuilder getFileOrBuilder()

Required. The File that replaces the resource on the server.

.google.devtools.artifactregistry.v1.File file = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FileOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

hasFile()

public abstract boolean hasFile()

Required. The File that replaces the resource on the server.

.google.devtools.artifactregistry.v1.File file = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the file field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask field is set.