public static final class DeleteSessionRequest.Builder extends GeneratedMessageV3.Builder<DeleteSessionRequest.Builder> implements DeleteSessionRequestOrBuilder
The request for DeleteSession.
Protobuf type google.spanner.v1.DeleteSessionRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DeleteSessionRequest.BuilderImplements
DeleteSessionRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeleteSessionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DeleteSessionRequest.Builder |
build()
public DeleteSessionRequest build()
Type | Description |
DeleteSessionRequest |
buildPartial()
public DeleteSessionRequest buildPartial()
Type | Description |
DeleteSessionRequest |
clear()
public DeleteSessionRequest.Builder clear()
Type | Description |
DeleteSessionRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public DeleteSessionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
DeleteSessionRequest.Builder |
clearName()
public DeleteSessionRequest.Builder clearName()
Required. The name of the session to delete.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
DeleteSessionRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DeleteSessionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
DeleteSessionRequest.Builder |
clone()
public DeleteSessionRequest.Builder clone()
Type | Description |
DeleteSessionRequest.Builder |
getDefaultInstanceForType()
public DeleteSessionRequest getDefaultInstanceForType()
Type | Description |
DeleteSessionRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
Required. The name of the session to delete.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Required. The name of the session to delete.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeleteSessionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DeleteSessionRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public DeleteSessionRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
DeleteSessionRequest.Builder |
mergeFrom(DeleteSessionRequest other)
public DeleteSessionRequest.Builder mergeFrom(DeleteSessionRequest other)
Name | Description |
other | DeleteSessionRequest |
Type | Description |
DeleteSessionRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeleteSessionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DeleteSessionRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public DeleteSessionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DeleteSessionRequest.Builder |
setName(String value)
public DeleteSessionRequest.Builder setName(String value)
Required. The name of the session to delete.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The name to set. |
Type | Description |
DeleteSessionRequest.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public DeleteSessionRequest.Builder setNameBytes(ByteString value)
Required. The name of the session to delete.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
DeleteSessionRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeleteSessionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
DeleteSessionRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DeleteSessionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DeleteSessionRequest.Builder |