Some or all of the information on this page might not apply to Trusted Cloud by S3NS.
Class AdaptMessageRequest (0.3.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
public final class AdaptMessageRequest extends GeneratedMessageV3 implements AdaptMessageRequestOrBuilder
Message sent by the client to the adapter.
Protobuf type google.spanner.adapter.v1.AdaptMessageRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ATTACHMENTS_FIELD_NUMBER
public static final int ATTACHMENTS_FIELD_NUMBER
Field Value
Type
Description
int
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
Type
Description
int
PAYLOAD_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
Field Value
Type
Description
int
PROTOCOL_FIELD_NUMBER
public static final int PROTOCOL_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static AdaptMessageRequest getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static AdaptMessageRequest . Builder newBuilder ()
newBuilder(AdaptMessageRequest prototype)
public static AdaptMessageRequest . Builder newBuilder ( AdaptMessageRequest prototype )
public static AdaptMessageRequest parseDelimitedFrom ( InputStream input )
public static AdaptMessageRequest parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static AdaptMessageRequest parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AdaptMessageRequest parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static AdaptMessageRequest parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AdaptMessageRequest parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static AdaptMessageRequest parseFrom ( CodedInputStream input )
public static AdaptMessageRequest parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static AdaptMessageRequest parseFrom ( InputStream input )
public static AdaptMessageRequest parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static AdaptMessageRequest parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AdaptMessageRequest parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<AdaptMessageRequest> parser ()
Methods
containsAttachments(String key)
public boolean containsAttachments ( String key )
Optional. Opaque request state passed by the client to the server.
map<string, string> attachments = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
key
String
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getAttachments() (deprecated)
public Map<String , String > getAttachments ()
getAttachmentsCount()
public int getAttachmentsCount ()
Optional. Opaque request state passed by the client to the server.
map<string, string> attachments = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
getAttachmentsMap()
public Map<String , String > getAttachmentsMap ()
Optional. Opaque request state passed by the client to the server.
map<string, string> attachments = 4 [(.google.api.field_behavior) = OPTIONAL];
getAttachmentsOrDefault(String key, String defaultValue)
public String getAttachmentsOrDefault ( String key , String defaultValue )
Optional. Opaque request state passed by the client to the server.
map<string, string> attachments = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
String
getAttachmentsOrThrow(String key)
public String getAttachmentsOrThrow ( String key )
Optional. Opaque request state passed by the client to the server.
map<string, string> attachments = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
key
String
Returns
Type
Description
String
getDefaultInstanceForType()
public AdaptMessageRequest getDefaultInstanceForType ()
getName()
Required. The database session in which the adapter request is processed.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type
Description
String
The name.
getNameBytes()
public ByteString getNameBytes ()
Required. The database session in which the adapter request is processed.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type
Description
ByteString
The bytes for name.
getParserForType()
public Parser<AdaptMessageRequest> getParserForType ()
Overrides
getPayload()
public ByteString getPayload ()
Optional. Uninterpreted bytes from the underlying wire protocol.
bytes payload = 3 [(.google.api.field_behavior) = OPTIONAL];
getProtocol()
public String getProtocol ()
Required. Identifier for the underlying wire protocol.
string protocol = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
String
The protocol.
getProtocolBytes()
public ByteString getProtocolBytes ()
Required. Identifier for the underlying wire protocol.
string protocol = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
ByteString
The bytes for protocol.
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection ( int number )
Parameter
Name
Description
number
int
Returns
Type
Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public AdaptMessageRequest . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AdaptMessageRequest . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public AdaptMessageRequest . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-02 UTC."],[],[]]