Interface UpdateSessionRequestOrBuilder (0.39.0)

public interface UpdateSessionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSession()

public abstract Session getSession()

Required. The Session to update.

.google.cloud.discoveryengine.v1alpha.Session session = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Session

The session.

getSessionOrBuilder()

public abstract SessionOrBuilder getSessionOrBuilder()

Required. The Session to update.

.google.cloud.discoveryengine.v1alpha.Session session = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SessionOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

Indicates which fields in the provided Session to update. The following are NOT supported:

  • Session.name

    If not set or empty, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Indicates which fields in the provided Session to update. The following are NOT supported:

  • Session.name

    If not set or empty, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasSession()

public abstract boolean hasSession()

Required. The Session to update.

.google.cloud.discoveryengine.v1alpha.Session session = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the session field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Indicates which fields in the provided Session to update. The following are NOT supported:

  • Session.name

    If not set or empty, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.