public static final class SessionConfig.SessionTtl extends GeneratedMessage implements SessionConfig.SessionTtlOrBuilderDefines the TTL for sessions.
Protobuf type google.cloud.discoveryengine.v1.SessionConfig.SessionTtl
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > SessionConfig.SessionTtlImplements
SessionConfig.SessionTtlOrBuilderStatic Fields
DAYS_FIELD_NUMBER
public static final int DAYS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static SessionConfig.SessionTtl getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
SessionConfig.SessionTtl |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static SessionConfig.SessionTtl.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
SessionConfig.SessionTtl.Builder |
|
newBuilder(SessionConfig.SessionTtl prototype)
public static SessionConfig.SessionTtl.Builder newBuilder(SessionConfig.SessionTtl prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
SessionConfig.SessionTtl |
| Returns | |
|---|---|
| Type | Description |
SessionConfig.SessionTtl.Builder |
|
parseDelimitedFrom(InputStream input)
public static SessionConfig.SessionTtl parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SessionConfig.SessionTtl |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SessionConfig.SessionTtl parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SessionConfig.SessionTtl |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static SessionConfig.SessionTtl parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
SessionConfig.SessionTtl |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SessionConfig.SessionTtl parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SessionConfig.SessionTtl |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static SessionConfig.SessionTtl parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
SessionConfig.SessionTtl |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SessionConfig.SessionTtl parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SessionConfig.SessionTtl |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static SessionConfig.SessionTtl parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
SessionConfig.SessionTtl |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SessionConfig.SessionTtl parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SessionConfig.SessionTtl |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static SessionConfig.SessionTtl parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SessionConfig.SessionTtl |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SessionConfig.SessionTtl parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SessionConfig.SessionTtl |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static SessionConfig.SessionTtl parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
SessionConfig.SessionTtl |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SessionConfig.SessionTtl parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SessionConfig.SessionTtl |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<SessionConfig.SessionTtl> parser()| Returns | |
|---|---|
| Type | Description |
Parser<SessionTtl> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDays()
public int getDays()Defines the number of days for session TTL.
int32 days = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The days. |
getDefaultInstanceForType()
public SessionConfig.SessionTtl getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SessionConfig.SessionTtl |
|
getParserForType()
public Parser<SessionConfig.SessionTtl> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<SessionTtl> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getTimeInfoCase()
public SessionConfig.SessionTtl.TimeInfoCase getTimeInfoCase()| Returns | |
|---|---|
| Type | Description |
SessionConfig.SessionTtl.TimeInfoCase |
|
hasDays()
public boolean hasDays()Defines the number of days for session TTL.
int32 days = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the days field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public SessionConfig.SessionTtl.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
SessionConfig.SessionTtl.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected SessionConfig.SessionTtl.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
SessionConfig.SessionTtl.Builder |
|
toBuilder()
public SessionConfig.SessionTtl.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
SessionConfig.SessionTtl.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|