Package com.google.api.servicecontrol.v1
Class LogEntry.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<LogEntry.Builder>
com.google.api.servicecontrol.v1.LogEntry.Builder
- All Implemented Interfaces:
LogEntryOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- LogEntry
public static final class LogEntry.Builder
extends com.google.protobuf.GeneratedMessage.Builder<LogEntry.Builder>
implements LogEntryOrBuilder
An individual log entry.Protobuf type
google.api.servicecontrol.v1.LogEntry-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.A unique ID for the log entry used for deduplication.Required.Optional.The log entry payload, represented as a protocol buffer that is expressed as a JSON object.The severity of the log entry.Optional.The log entry payload, represented as a structure that is expressed as a JSON object.The log entry payload, represented as a Unicode string (UTF-8).The time the event described by the log entry occurred.Optional.booleancontainsLabels(String key) A set of user-defined (key, value) data that provides additional information about the log entry.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.Optional.Optional.A unique ID for the log entry used for deduplication.com.google.protobuf.ByteStringA unique ID for the log entry used for deduplication.Deprecated.intA set of user-defined (key, value) data that provides additional information about the log entry.A set of user-defined (key, value) data that provides additional information about the log entry.getLabelsOrDefault(String key, String defaultValue) A set of user-defined (key, value) data that provides additional information about the log entry.getLabelsOrThrow(String key) A set of user-defined (key, value) data that provides additional information about the log entry.Deprecated.getName()Required.com.google.protobuf.ByteStringRequired.Optional.Optional.Optional.com.google.protobuf.AnyThe log entry payload, represented as a protocol buffer that is expressed as a JSON object.com.google.protobuf.Any.BuilderThe log entry payload, represented as a protocol buffer that is expressed as a JSON object.com.google.protobuf.AnyOrBuilderThe log entry payload, represented as a protocol buffer that is expressed as a JSON object.The severity of the log entry.intThe severity of the log entry.Optional.Optional.Optional.com.google.protobuf.StructThe log entry payload, represented as a structure that is expressed as a JSON object.com.google.protobuf.Struct.BuilderThe log entry payload, represented as a structure that is expressed as a JSON object.com.google.protobuf.StructOrBuilderThe log entry payload, represented as a structure that is expressed as a JSON object.The log entry payload, represented as a Unicode string (UTF-8).com.google.protobuf.ByteStringThe log entry payload, represented as a Unicode string (UTF-8).com.google.protobuf.TimestampThe time the event described by the log entry occurred.com.google.protobuf.Timestamp.BuilderThe time the event described by the log entry occurred.com.google.protobuf.TimestampOrBuilderThe time the event described by the log entry occurred.getTrace()Optional.com.google.protobuf.ByteStringOptional.booleanOptional.booleanOptional.booleanThe log entry payload, represented as a protocol buffer that is expressed as a JSON object.booleanOptional.booleanThe log entry payload, represented as a structure that is expressed as a JSON object.booleanThe log entry payload, represented as a Unicode string (UTF-8).booleanThe time the event described by the log entry occurred.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeHttpRequest(HttpRequest value) Optional.mergeOperation(LogEntryOperation value) Optional.mergeProtoPayload(com.google.protobuf.Any value) The log entry payload, represented as a protocol buffer that is expressed as a JSON object.Optional.mergeStructPayload(com.google.protobuf.Struct value) The log entry payload, represented as a structure that is expressed as a JSON object.mergeTimestamp(com.google.protobuf.Timestamp value) The time the event described by the log entry occurred.putAllLabels(Map<String, String> values) A set of user-defined (key, value) data that provides additional information about the log entry.A set of user-defined (key, value) data that provides additional information about the log entry.removeLabels(String key) A set of user-defined (key, value) data that provides additional information about the log entry.setHttpRequest(HttpRequest value) Optional.setHttpRequest(HttpRequest.Builder builderForValue) Optional.setInsertId(String value) A unique ID for the log entry used for deduplication.setInsertIdBytes(com.google.protobuf.ByteString value) A unique ID for the log entry used for deduplication.Required.setNameBytes(com.google.protobuf.ByteString value) Required.setOperation(LogEntryOperation value) Optional.setOperation(LogEntryOperation.Builder builderForValue) Optional.setProtoPayload(com.google.protobuf.Any value) The log entry payload, represented as a protocol buffer that is expressed as a JSON object.setProtoPayload(com.google.protobuf.Any.Builder builderForValue) The log entry payload, represented as a protocol buffer that is expressed as a JSON object.setSeverity(LogSeverity value) The severity of the log entry.setSeverityValue(int value) The severity of the log entry.Optional.setSourceLocation(LogEntrySourceLocation.Builder builderForValue) Optional.setStructPayload(com.google.protobuf.Struct value) The log entry payload, represented as a structure that is expressed as a JSON object.setStructPayload(com.google.protobuf.Struct.Builder builderForValue) The log entry payload, represented as a structure that is expressed as a JSON object.setTextPayload(String value) The log entry payload, represented as a Unicode string (UTF-8).setTextPayloadBytes(com.google.protobuf.ByteString value) The log entry payload, represented as a Unicode string (UTF-8).setTimestamp(com.google.protobuf.Timestamp value) The time the event described by the log entry occurred.setTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) The time the event described by the log entry occurred.Optional.setTraceBytes(com.google.protobuf.ByteString value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<LogEntry.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<LogEntry.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<LogEntry.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<LogEntry.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<LogEntry.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LogEntry.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<LogEntry.Builder>
-
mergeFrom
public LogEntry.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LogEntry.Builder>- Throws:
IOException
-
getPayloadCase
- Specified by:
getPayloadCasein interfaceLogEntryOrBuilder
-
clearPayload
-
getName
Required. The log to which this log entry belongs. Examples: `"syslog"`, `"book_log"`.
string name = 10;- Specified by:
getNamein interfaceLogEntryOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Required. The log to which this log entry belongs. Examples: `"syslog"`, `"book_log"`.
string name = 10;- Specified by:
getNameBytesin interfaceLogEntryOrBuilder- Returns:
- The bytes for name.
-
setName
Required. The log to which this log entry belongs. Examples: `"syslog"`, `"book_log"`.
string name = 10;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Required. The log to which this log entry belongs. Examples: `"syslog"`, `"book_log"`.
string name = 10;- Returns:
- This builder for chaining.
-
setNameBytes
Required. The log to which this log entry belongs. Examples: `"syslog"`, `"book_log"`.
string name = 10;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasTimestamp
public boolean hasTimestamp()The time the event described by the log entry occurred. If omitted, defaults to operation start time.
.google.protobuf.Timestamp timestamp = 11;- Specified by:
hasTimestampin interfaceLogEntryOrBuilder- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public com.google.protobuf.Timestamp getTimestamp()The time the event described by the log entry occurred. If omitted, defaults to operation start time.
.google.protobuf.Timestamp timestamp = 11;- Specified by:
getTimestampin interfaceLogEntryOrBuilder- Returns:
- The timestamp.
-
setTimestamp
The time the event described by the log entry occurred. If omitted, defaults to operation start time.
.google.protobuf.Timestamp timestamp = 11; -
setTimestamp
The time the event described by the log entry occurred. If omitted, defaults to operation start time.
.google.protobuf.Timestamp timestamp = 11; -
mergeTimestamp
The time the event described by the log entry occurred. If omitted, defaults to operation start time.
.google.protobuf.Timestamp timestamp = 11; -
clearTimestamp
The time the event described by the log entry occurred. If omitted, defaults to operation start time.
.google.protobuf.Timestamp timestamp = 11; -
getTimestampBuilder
public com.google.protobuf.Timestamp.Builder getTimestampBuilder()The time the event described by the log entry occurred. If omitted, defaults to operation start time.
.google.protobuf.Timestamp timestamp = 11; -
getTimestampOrBuilder
public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()The time the event described by the log entry occurred. If omitted, defaults to operation start time.
.google.protobuf.Timestamp timestamp = 11;- Specified by:
getTimestampOrBuilderin interfaceLogEntryOrBuilder
-
getSeverityValue
public int getSeverityValue()The severity of the log entry. The default value is `LogSeverity.DEFAULT`.
.google.logging.type.LogSeverity severity = 12;- Specified by:
getSeverityValuein interfaceLogEntryOrBuilder- Returns:
- The enum numeric value on the wire for severity.
-
setSeverityValue
The severity of the log entry. The default value is `LogSeverity.DEFAULT`.
.google.logging.type.LogSeverity severity = 12;- Parameters:
value- The enum numeric value on the wire for severity to set.- Returns:
- This builder for chaining.
-
getSeverity
The severity of the log entry. The default value is `LogSeverity.DEFAULT`.
.google.logging.type.LogSeverity severity = 12;- Specified by:
getSeverityin interfaceLogEntryOrBuilder- Returns:
- The severity.
-
setSeverity
The severity of the log entry. The default value is `LogSeverity.DEFAULT`.
.google.logging.type.LogSeverity severity = 12;- Parameters:
value- The severity to set.- Returns:
- This builder for chaining.
-
clearSeverity
The severity of the log entry. The default value is `LogSeverity.DEFAULT`.
.google.logging.type.LogSeverity severity = 12;- Returns:
- This builder for chaining.
-
hasHttpRequest
public boolean hasHttpRequest()Optional. Information about the HTTP request associated with this log entry, if applicable.
.google.api.servicecontrol.v1.HttpRequest http_request = 14;- Specified by:
hasHttpRequestin interfaceLogEntryOrBuilder- Returns:
- Whether the httpRequest field is set.
-
getHttpRequest
Optional. Information about the HTTP request associated with this log entry, if applicable.
.google.api.servicecontrol.v1.HttpRequest http_request = 14;- Specified by:
getHttpRequestin interfaceLogEntryOrBuilder- Returns:
- The httpRequest.
-
setHttpRequest
Optional. Information about the HTTP request associated with this log entry, if applicable.
.google.api.servicecontrol.v1.HttpRequest http_request = 14; -
setHttpRequest
Optional. Information about the HTTP request associated with this log entry, if applicable.
.google.api.servicecontrol.v1.HttpRequest http_request = 14; -
mergeHttpRequest
Optional. Information about the HTTP request associated with this log entry, if applicable.
.google.api.servicecontrol.v1.HttpRequest http_request = 14; -
clearHttpRequest
Optional. Information about the HTTP request associated with this log entry, if applicable.
.google.api.servicecontrol.v1.HttpRequest http_request = 14; -
getHttpRequestBuilder
Optional. Information about the HTTP request associated with this log entry, if applicable.
.google.api.servicecontrol.v1.HttpRequest http_request = 14; -
getHttpRequestOrBuilder
Optional. Information about the HTTP request associated with this log entry, if applicable.
.google.api.servicecontrol.v1.HttpRequest http_request = 14;- Specified by:
getHttpRequestOrBuilderin interfaceLogEntryOrBuilder
-
getTrace
Optional. Resource name of the trace associated with the log entry, if any. If this field contains a relative resource name, you can assume the name is relative to `//tracing.googleapis.com`. Example: `projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824`
string trace = 15;- Specified by:
getTracein interfaceLogEntryOrBuilder- Returns:
- The trace.
-
getTraceBytes
public com.google.protobuf.ByteString getTraceBytes()Optional. Resource name of the trace associated with the log entry, if any. If this field contains a relative resource name, you can assume the name is relative to `//tracing.googleapis.com`. Example: `projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824`
string trace = 15;- Specified by:
getTraceBytesin interfaceLogEntryOrBuilder- Returns:
- The bytes for trace.
-
setTrace
Optional. Resource name of the trace associated with the log entry, if any. If this field contains a relative resource name, you can assume the name is relative to `//tracing.googleapis.com`. Example: `projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824`
string trace = 15;- Parameters:
value- The trace to set.- Returns:
- This builder for chaining.
-
clearTrace
Optional. Resource name of the trace associated with the log entry, if any. If this field contains a relative resource name, you can assume the name is relative to `//tracing.googleapis.com`. Example: `projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824`
string trace = 15;- Returns:
- This builder for chaining.
-
setTraceBytes
Optional. Resource name of the trace associated with the log entry, if any. If this field contains a relative resource name, you can assume the name is relative to `//tracing.googleapis.com`. Example: `projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824`
string trace = 15;- Parameters:
value- The bytes for trace to set.- Returns:
- This builder for chaining.
-
getInsertId
A unique ID for the log entry used for deduplication. If omitted, the implementation will generate one based on operation_id.
string insert_id = 4;- Specified by:
getInsertIdin interfaceLogEntryOrBuilder- Returns:
- The insertId.
-
getInsertIdBytes
public com.google.protobuf.ByteString getInsertIdBytes()A unique ID for the log entry used for deduplication. If omitted, the implementation will generate one based on operation_id.
string insert_id = 4;- Specified by:
getInsertIdBytesin interfaceLogEntryOrBuilder- Returns:
- The bytes for insertId.
-
setInsertId
A unique ID for the log entry used for deduplication. If omitted, the implementation will generate one based on operation_id.
string insert_id = 4;- Parameters:
value- The insertId to set.- Returns:
- This builder for chaining.
-
clearInsertId
A unique ID for the log entry used for deduplication. If omitted, the implementation will generate one based on operation_id.
string insert_id = 4;- Returns:
- This builder for chaining.
-
setInsertIdBytes
A unique ID for the log entry used for deduplication. If omitted, the implementation will generate one based on operation_id.
string insert_id = 4;- Parameters:
value- The bytes for insertId to set.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()Description copied from interface:LogEntryOrBuilderA set of user-defined (key, value) data that provides additional information about the log entry.
map<string, string> labels = 13;- Specified by:
getLabelsCountin interfaceLogEntryOrBuilder
-
containsLabels
A set of user-defined (key, value) data that provides additional information about the log entry.
map<string, string> labels = 13;- Specified by:
containsLabelsin interfaceLogEntryOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceLogEntryOrBuilder
-
getLabelsMap
A set of user-defined (key, value) data that provides additional information about the log entry.
map<string, string> labels = 13;- Specified by:
getLabelsMapin interfaceLogEntryOrBuilder
-
getLabelsOrDefault
A set of user-defined (key, value) data that provides additional information about the log entry.
map<string, string> labels = 13;- Specified by:
getLabelsOrDefaultin interfaceLogEntryOrBuilder
-
getLabelsOrThrow
A set of user-defined (key, value) data that provides additional information about the log entry.
map<string, string> labels = 13;- Specified by:
getLabelsOrThrowin interfaceLogEntryOrBuilder
-
clearLabels
-
removeLabels
A set of user-defined (key, value) data that provides additional information about the log entry.
map<string, string> labels = 13; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
A set of user-defined (key, value) data that provides additional information about the log entry.
map<string, string> labels = 13; -
putAllLabels
A set of user-defined (key, value) data that provides additional information about the log entry.
map<string, string> labels = 13; -
hasProtoPayload
public boolean hasProtoPayload()The log entry payload, represented as a protocol buffer that is expressed as a JSON object. The only accepted type currently is [AuditLog][google.cloud.audit.AuditLog].
.google.protobuf.Any proto_payload = 2;- Specified by:
hasProtoPayloadin interfaceLogEntryOrBuilder- Returns:
- Whether the protoPayload field is set.
-
getProtoPayload
public com.google.protobuf.Any getProtoPayload()The log entry payload, represented as a protocol buffer that is expressed as a JSON object. The only accepted type currently is [AuditLog][google.cloud.audit.AuditLog].
.google.protobuf.Any proto_payload = 2;- Specified by:
getProtoPayloadin interfaceLogEntryOrBuilder- Returns:
- The protoPayload.
-
setProtoPayload
The log entry payload, represented as a protocol buffer that is expressed as a JSON object. The only accepted type currently is [AuditLog][google.cloud.audit.AuditLog].
.google.protobuf.Any proto_payload = 2; -
setProtoPayload
The log entry payload, represented as a protocol buffer that is expressed as a JSON object. The only accepted type currently is [AuditLog][google.cloud.audit.AuditLog].
.google.protobuf.Any proto_payload = 2; -
mergeProtoPayload
The log entry payload, represented as a protocol buffer that is expressed as a JSON object. The only accepted type currently is [AuditLog][google.cloud.audit.AuditLog].
.google.protobuf.Any proto_payload = 2; -
clearProtoPayload
The log entry payload, represented as a protocol buffer that is expressed as a JSON object. The only accepted type currently is [AuditLog][google.cloud.audit.AuditLog].
.google.protobuf.Any proto_payload = 2; -
getProtoPayloadBuilder
public com.google.protobuf.Any.Builder getProtoPayloadBuilder()The log entry payload, represented as a protocol buffer that is expressed as a JSON object. The only accepted type currently is [AuditLog][google.cloud.audit.AuditLog].
.google.protobuf.Any proto_payload = 2; -
getProtoPayloadOrBuilder
public com.google.protobuf.AnyOrBuilder getProtoPayloadOrBuilder()The log entry payload, represented as a protocol buffer that is expressed as a JSON object. The only accepted type currently is [AuditLog][google.cloud.audit.AuditLog].
.google.protobuf.Any proto_payload = 2;- Specified by:
getProtoPayloadOrBuilderin interfaceLogEntryOrBuilder
-
hasTextPayload
public boolean hasTextPayload()The log entry payload, represented as a Unicode string (UTF-8).
string text_payload = 3;- Specified by:
hasTextPayloadin interfaceLogEntryOrBuilder- Returns:
- Whether the textPayload field is set.
-
getTextPayload
The log entry payload, represented as a Unicode string (UTF-8).
string text_payload = 3;- Specified by:
getTextPayloadin interfaceLogEntryOrBuilder- Returns:
- The textPayload.
-
getTextPayloadBytes
public com.google.protobuf.ByteString getTextPayloadBytes()The log entry payload, represented as a Unicode string (UTF-8).
string text_payload = 3;- Specified by:
getTextPayloadBytesin interfaceLogEntryOrBuilder- Returns:
- The bytes for textPayload.
-
setTextPayload
The log entry payload, represented as a Unicode string (UTF-8).
string text_payload = 3;- Parameters:
value- The textPayload to set.- Returns:
- This builder for chaining.
-
clearTextPayload
The log entry payload, represented as a Unicode string (UTF-8).
string text_payload = 3;- Returns:
- This builder for chaining.
-
setTextPayloadBytes
The log entry payload, represented as a Unicode string (UTF-8).
string text_payload = 3;- Parameters:
value- The bytes for textPayload to set.- Returns:
- This builder for chaining.
-
hasStructPayload
public boolean hasStructPayload()The log entry payload, represented as a structure that is expressed as a JSON object.
.google.protobuf.Struct struct_payload = 6;- Specified by:
hasStructPayloadin interfaceLogEntryOrBuilder- Returns:
- Whether the structPayload field is set.
-
getStructPayload
public com.google.protobuf.Struct getStructPayload()The log entry payload, represented as a structure that is expressed as a JSON object.
.google.protobuf.Struct struct_payload = 6;- Specified by:
getStructPayloadin interfaceLogEntryOrBuilder- Returns:
- The structPayload.
-
setStructPayload
The log entry payload, represented as a structure that is expressed as a JSON object.
.google.protobuf.Struct struct_payload = 6; -
setStructPayload
The log entry payload, represented as a structure that is expressed as a JSON object.
.google.protobuf.Struct struct_payload = 6; -
mergeStructPayload
The log entry payload, represented as a structure that is expressed as a JSON object.
.google.protobuf.Struct struct_payload = 6; -
clearStructPayload
The log entry payload, represented as a structure that is expressed as a JSON object.
.google.protobuf.Struct struct_payload = 6; -
getStructPayloadBuilder
public com.google.protobuf.Struct.Builder getStructPayloadBuilder()The log entry payload, represented as a structure that is expressed as a JSON object.
.google.protobuf.Struct struct_payload = 6; -
getStructPayloadOrBuilder
public com.google.protobuf.StructOrBuilder getStructPayloadOrBuilder()The log entry payload, represented as a structure that is expressed as a JSON object.
.google.protobuf.Struct struct_payload = 6;- Specified by:
getStructPayloadOrBuilderin interfaceLogEntryOrBuilder
-
hasOperation
public boolean hasOperation()Optional. Information about an operation associated with the log entry, if applicable.
.google.api.servicecontrol.v1.LogEntryOperation operation = 16;- Specified by:
hasOperationin interfaceLogEntryOrBuilder- Returns:
- Whether the operation field is set.
-
getOperation
Optional. Information about an operation associated with the log entry, if applicable.
.google.api.servicecontrol.v1.LogEntryOperation operation = 16;- Specified by:
getOperationin interfaceLogEntryOrBuilder- Returns:
- The operation.
-
setOperation
Optional. Information about an operation associated with the log entry, if applicable.
.google.api.servicecontrol.v1.LogEntryOperation operation = 16; -
setOperation
Optional. Information about an operation associated with the log entry, if applicable.
.google.api.servicecontrol.v1.LogEntryOperation operation = 16; -
mergeOperation
Optional. Information about an operation associated with the log entry, if applicable.
.google.api.servicecontrol.v1.LogEntryOperation operation = 16; -
clearOperation
Optional. Information about an operation associated with the log entry, if applicable.
.google.api.servicecontrol.v1.LogEntryOperation operation = 16; -
getOperationBuilder
Optional. Information about an operation associated with the log entry, if applicable.
.google.api.servicecontrol.v1.LogEntryOperation operation = 16; -
getOperationOrBuilder
Optional. Information about an operation associated with the log entry, if applicable.
.google.api.servicecontrol.v1.LogEntryOperation operation = 16;- Specified by:
getOperationOrBuilderin interfaceLogEntryOrBuilder
-
hasSourceLocation
public boolean hasSourceLocation()Optional. Source code location information associated with the log entry, if any.
.google.api.servicecontrol.v1.LogEntrySourceLocation source_location = 17;- Specified by:
hasSourceLocationin interfaceLogEntryOrBuilder- Returns:
- Whether the sourceLocation field is set.
-
getSourceLocation
Optional. Source code location information associated with the log entry, if any.
.google.api.servicecontrol.v1.LogEntrySourceLocation source_location = 17;- Specified by:
getSourceLocationin interfaceLogEntryOrBuilder- Returns:
- The sourceLocation.
-
setSourceLocation
Optional. Source code location information associated with the log entry, if any.
.google.api.servicecontrol.v1.LogEntrySourceLocation source_location = 17; -
setSourceLocation
Optional. Source code location information associated with the log entry, if any.
.google.api.servicecontrol.v1.LogEntrySourceLocation source_location = 17; -
mergeSourceLocation
Optional. Source code location information associated with the log entry, if any.
.google.api.servicecontrol.v1.LogEntrySourceLocation source_location = 17; -
clearSourceLocation
Optional. Source code location information associated with the log entry, if any.
.google.api.servicecontrol.v1.LogEntrySourceLocation source_location = 17; -
getSourceLocationBuilder
Optional. Source code location information associated with the log entry, if any.
.google.api.servicecontrol.v1.LogEntrySourceLocation source_location = 17; -
getSourceLocationOrBuilder
Optional. Source code location information associated with the log entry, if any.
.google.api.servicecontrol.v1.LogEntrySourceLocation source_location = 17;- Specified by:
getSourceLocationOrBuilderin interfaceLogEntryOrBuilder
-