Interface UpdateContextRequestOrBuilder (3.37.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.