Interface UpdateContextRequestOrBuilder (3.56.0)

public interface UpdateContextRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowMissing()

public abstract boolean getAllowMissing()

If set to true, and the Context is not found, a new Context is created.

bool allow_missing = 3;

Returns
Type Description
boolean

The allowMissing.

getContext()

public abstract Context getContext()

Required. The Context containing updates. The Context's Context.name field is used to identify the Context to be updated. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}

.google.cloud.aiplatform.v1.Context context = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Context

The context.

getContextOrBuilder()

public abstract ContextOrBuilder getContextOrBuilder()

Required. The Context containing updates. The Context's Context.name field is used to identify the Context to be updated. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}

.google.cloud.aiplatform.v1.Context context = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ContextOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

Optional. A FieldMask indicating which fields should be updated.

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

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. A FieldMask indicating which fields should be updated.

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

Returns
Type Description
FieldMaskOrBuilder

hasContext()

public abstract boolean hasContext()

Required. The Context containing updates. The Context's Context.name field is used to identify the Context to be updated. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}

.google.cloud.aiplatform.v1.Context context = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the context field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Optional. A FieldMask indicating which fields should be updated.

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

Returns
Type Description
boolean

Whether the updateMask field is set.