public final class CloudLoggingEntry extends GeneratedMessageV3 implements CloudLoggingEntryOrBuilder
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
INSERT_ID_FIELD_NUMBER
public static final int INSERT_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LOG_ID_FIELD_NUMBER
public static final int LOG_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RESOURCE_CONTAINER_FIELD_NUMBER
public static final int RESOURCE_CONTAINER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static CloudLoggingEntry getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CloudLoggingEntry.Builder newBuilder()
newBuilder(CloudLoggingEntry prototype)
public static CloudLoggingEntry.Builder newBuilder(CloudLoggingEntry prototype)
parseDelimitedFrom(InputStream input)
public static CloudLoggingEntry parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CloudLoggingEntry parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CloudLoggingEntry parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CloudLoggingEntry parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CloudLoggingEntry parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CloudLoggingEntry parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static CloudLoggingEntry parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CloudLoggingEntry parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static CloudLoggingEntry parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CloudLoggingEntry parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CloudLoggingEntry parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CloudLoggingEntry parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CloudLoggingEntry> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public CloudLoggingEntry getDefaultInstanceForType()
getInsertId()
public String getInsertId()
A unique identifier for the log entry.
string insert_id = 1;
Returns |
Type |
Description |
String |
The insertId.
|
getInsertIdBytes()
public ByteString getInsertIdBytes()
A unique identifier for the log entry.
string insert_id = 1;
Returns |
Type |
Description |
ByteString |
The bytes for insertId.
|
getLogId()
The type of the log (part of log_name
. log_name
is the resource name of
the log to which this log entry belongs). For example:
cloudresourcemanager.googleapis.com/activity
. Note that this field is not
URL-encoded, unlike the LOG_ID
field in LogEntry
.
string log_id = 2;
Returns |
Type |
Description |
String |
The logId.
|
getLogIdBytes()
public ByteString getLogIdBytes()
The type of the log (part of log_name
. log_name
is the resource name of
the log to which this log entry belongs). For example:
cloudresourcemanager.googleapis.com/activity
. Note that this field is not
URL-encoded, unlike the LOG_ID
field in LogEntry
.
string log_id = 2;
Returns |
Type |
Description |
ByteString |
The bytes for logId.
|
getParserForType()
public Parser<CloudLoggingEntry> getParserForType()
Overrides
getResourceContainer()
public String getResourceContainer()
The organization, folder, or project of the monitored resource that
produced this log entry.
string resource_container = 3;
Returns |
Type |
Description |
String |
The resourceContainer.
|
getResourceContainerBytes()
public ByteString getResourceContainerBytes()
The organization, folder, or project of the monitored resource that
produced this log entry.
string resource_container = 3;
Returns |
Type |
Description |
ByteString |
The bytes for resourceContainer.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getTimestamp()
public Timestamp getTimestamp()
The time the event described by the log entry occurred.
.google.protobuf.Timestamp timestamp = 4;
Returns |
Type |
Description |
Timestamp |
The timestamp.
|
getTimestampOrBuilder()
public TimestampOrBuilder getTimestampOrBuilder()
The time the event described by the log entry occurred.
.google.protobuf.Timestamp timestamp = 4;
hasTimestamp()
public boolean hasTimestamp()
The time the event described by the log entry occurred.
.google.protobuf.Timestamp timestamp = 4;
Returns |
Type |
Description |
boolean |
Whether the timestamp field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CloudLoggingEntry.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CloudLoggingEntry.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public CloudLoggingEntry.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides