public static final class UpdateSessionRequest.Builder extends GeneratedMessage.Builder<UpdateSessionRequest.Builder> implements UpdateSessionRequestOrBuilderRequest for UpdateSession method.
Protobuf type google.cloud.discoveryengine.v1alpha.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.
.google.cloud.discoveryengine.v1alpha.Session session = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateSessionRequest.Builder |
|
clearUpdateMask()
public UpdateSessionRequest.Builder clearUpdateMask()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 |
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.
.google.cloud.discoveryengine.v1alpha.Session session = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Session |
The session. |
getSessionBuilder()
public Session.Builder getSessionBuilder()Required. The Session to update.
.google.cloud.discoveryengine.v1alpha.Session session = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Session.Builder |
|
getSessionOrBuilder()
public 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 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. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()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 |
Builder |
|
getUpdateMaskOrBuilder()
public 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 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 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. |
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.
.google.cloud.discoveryengine.v1alpha.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)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;
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateSessionRequest.Builder |
|
setSession(Session value)
public UpdateSessionRequest.Builder setSession(Session value)Required. The Session to update.
.google.cloud.discoveryengine.v1alpha.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.
.google.cloud.discoveryengine.v1alpha.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)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;
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateSessionRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateSessionRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateSessionRequest.Builder |
|