Class RequestMetadata (2.10.0)

Stay organized with collections Save and categorize content based on your preferences.
public final class RequestMetadata extends GeneratedMessageV3 implements RequestMetadataOrBuilder

Metadata about the request.

Protobuf type google.cloud.audit.RequestMetadata

Static Fields

CALLER_IP_FIELD_NUMBER

public static final int CALLER_IP_FIELD_NUMBER
Field Value
TypeDescription
int

CALLER_NETWORK_FIELD_NUMBER

public static final int CALLER_NETWORK_FIELD_NUMBER
Field Value
TypeDescription
int

CALLER_SUPPLIED_USER_AGENT_FIELD_NUMBER

public static final int CALLER_SUPPLIED_USER_AGENT_FIELD_NUMBER
Field Value
TypeDescription
int

DESTINATION_ATTRIBUTES_FIELD_NUMBER

public static final int DESTINATION_ATTRIBUTES_FIELD_NUMBER
Field Value
TypeDescription
int

REQUEST_ATTRIBUTES_FIELD_NUMBER

public static final int REQUEST_ATTRIBUTES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RequestMetadata getDefaultInstance()
Returns
TypeDescription
RequestMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RequestMetadata.Builder newBuilder()
Returns
TypeDescription
RequestMetadata.Builder

newBuilder(RequestMetadata prototype)

public static RequestMetadata.Builder newBuilder(RequestMetadata prototype)
Parameter
NameDescription
prototypeRequestMetadata
Returns
TypeDescription
RequestMetadata.Builder

parseDelimitedFrom(InputStream input)

public static RequestMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RequestMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RequestMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RequestMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RequestMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RequestMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RequestMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RequestMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RequestMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RequestMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RequestMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RequestMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RequestMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RequestMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RequestMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RequestMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RequestMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RequestMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RequestMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters