public static final class UpdateSessionRequest.Builder extends GeneratedMessage.Builder<UpdateSessionRequest.Builder> implements UpdateSessionRequestOrBuilderRequest message for SessionService.UpdateSession.
Protobuf type google.cloud.aiplatform.v1.UpdateSessionRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateSessionRequest.BuilderImplements
UpdateSessionRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateSessionRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateSessionRequest |
|
buildPartial()
public UpdateSessionRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateSessionRequest |
|
clear()
public UpdateSessionRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateSessionRequest.Builder |
|
clearSession()
public UpdateSessionRequest.Builder clearSession() Required. The session to update.
Format:
projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}
.google.cloud.aiplatform.v1.Session session = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateSessionRequest.Builder |
|
clearUpdateMask()
public UpdateSessionRequest.Builder clearUpdateMask()Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UpdateSessionRequest.Builder |
|
getDefaultInstanceForType()
public UpdateSessionRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateSessionRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSession()
public Session getSession() Required. The session to update.
Format:
projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}
.google.cloud.aiplatform.v1.Session session = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Session |
The session. |
getSessionBuilder()
public Session.Builder getSessionBuilder() Required. The session to update.
Format:
projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}
.google.cloud.aiplatform.v1.Session session = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Session.Builder |
|
getSessionOrBuilder()
public SessionOrBuilder getSessionOrBuilder() Required. The session to update.
Format:
projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}
.google.cloud.aiplatform.v1.Session session = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SessionOrBuilder |
|
getUpdateMask()
public FieldMask getUpdateMask()Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
hasSession()
public boolean hasSession() Required. The session to update.
Format:
projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}
.google.cloud.aiplatform.v1.Session session = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the session field is set. |
hasUpdateMask()
public boolean hasUpdateMask()Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UpdateSessionRequest other)
public UpdateSessionRequest.Builder mergeFrom(UpdateSessionRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateSessionRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateSessionRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateSessionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateSessionRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateSessionRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateSessionRequest.Builder |
|
mergeSession(Session value)
public UpdateSessionRequest.Builder mergeSession(Session value) Required. The session to update.
Format:
projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}
.google.cloud.aiplatform.v1.Session session = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Session |
| Returns | |
|---|---|
| Type | Description |
UpdateSessionRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateSessionRequest.Builder mergeUpdateMask(FieldMask value)Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateSessionRequest.Builder |
|
setSession(Session value)
public UpdateSessionRequest.Builder setSession(Session value) Required. The session to update.
Format:
projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}
.google.cloud.aiplatform.v1.Session session = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Session |
| Returns | |
|---|---|
| Type | Description |
UpdateSessionRequest.Builder |
|
setSession(Session.Builder builderForValue)
public UpdateSessionRequest.Builder setSession(Session.Builder builderForValue) Required. The session to update.
Format:
projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}
.google.cloud.aiplatform.v1.Session session = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Session.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateSessionRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateSessionRequest.Builder setUpdateMask(FieldMask value)Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateSessionRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateSessionRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateSessionRequest.Builder |
|