Class HTTPAccessLogEntry.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<HTTPAccessLogEntry.Builder>
com.google.protobuf.GeneratedMessage.Builder<HTTPAccessLogEntry.Builder>
io.envoyproxy.envoy.data.accesslog.v3.HTTPAccessLogEntry.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,HTTPAccessLogEntryOrBuilder,Cloneable
- Enclosing class:
HTTPAccessLogEntry
public static final class HTTPAccessLogEntry.Builder
extends com.google.protobuf.GeneratedMessage.Builder<HTTPAccessLogEntry.Builder>
implements HTTPAccessLogEntryOrBuilder
Protobuf type
envoy.data.accesslog.v3.HTTPAccessLogEntry-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate AccessLogCommonprivate com.google.protobuf.SingleFieldBuilder<AccessLogCommon, AccessLogCommon.Builder, AccessLogCommonOrBuilder> private intprivate HTTPRequestPropertiesprivate com.google.protobuf.SingleFieldBuilder<HTTPRequestProperties, HTTPRequestProperties.Builder, HTTPRequestPropertiesOrBuilder> private HTTPResponsePropertiesprivate com.google.protobuf.SingleFieldBuilder<HTTPResponseProperties, HTTPResponseProperties.Builder, HTTPResponsePropertiesOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()private voidbuildPartial0(HTTPAccessLogEntry result) clear()Common properties shared by all Envoy access logs..envoy.data.accesslog.v3.HTTPAccessLogEntry.HTTPVersion protocol_version = 2;Description of the incoming HTTP request.Description of the outgoing HTTP response.Common properties shared by all Envoy access logs.Common properties shared by all Envoy access logs.private com.google.protobuf.SingleFieldBuilder<AccessLogCommon, AccessLogCommon.Builder, AccessLogCommonOrBuilder> Common properties shared by all Envoy access logs.Common properties shared by all Envoy access logs.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor.envoy.data.accesslog.v3.HTTPAccessLogEntry.HTTPVersion protocol_version = 2;int.envoy.data.accesslog.v3.HTTPAccessLogEntry.HTTPVersion protocol_version = 2;Description of the incoming HTTP request.Description of the incoming HTTP request.private com.google.protobuf.SingleFieldBuilder<HTTPRequestProperties, HTTPRequestProperties.Builder, HTTPRequestPropertiesOrBuilder> Description of the incoming HTTP request.Description of the incoming HTTP request.Description of the outgoing HTTP response.Description of the outgoing HTTP response.private com.google.protobuf.SingleFieldBuilder<HTTPResponseProperties, HTTPResponseProperties.Builder, HTTPResponsePropertiesOrBuilder> Description of the outgoing HTTP response.Description of the outgoing HTTP response.booleanCommon properties shared by all Envoy access logs.booleanDescription of the incoming HTTP request.booleanDescription of the outgoing HTTP response.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanprivate voidCommon properties shared by all Envoy access logs.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(HTTPAccessLogEntry other) Description of the incoming HTTP request.Description of the outgoing HTTP response.Common properties shared by all Envoy access logs.setCommonProperties(AccessLogCommon.Builder builderForValue) Common properties shared by all Envoy access logs..envoy.data.accesslog.v3.HTTPAccessLogEntry.HTTPVersion protocol_version = 2;setProtocolVersionValue(int value) .envoy.data.accesslog.v3.HTTPAccessLogEntry.HTTPVersion protocol_version = 2;setRequest(HTTPRequestProperties value) Description of the incoming HTTP request.setRequest(HTTPRequestProperties.Builder builderForValue) Description of the incoming HTTP request.Description of the outgoing HTTP response.setResponse(HTTPResponseProperties.Builder builderForValue) Description of the outgoing HTTP response.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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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
-
Field Details
-
bitField0_
private int bitField0_ -
commonProperties_
-
commonPropertiesBuilder_
private com.google.protobuf.SingleFieldBuilder<AccessLogCommon,AccessLogCommon.Builder, commonPropertiesBuilder_AccessLogCommonOrBuilder> -
protocolVersion_
private int protocolVersion_ -
request_
-
requestBuilder_
private com.google.protobuf.SingleFieldBuilder<HTTPRequestProperties,HTTPRequestProperties.Builder, requestBuilder_HTTPRequestPropertiesOrBuilder> -
response_
-
responseBuilder_
private com.google.protobuf.SingleFieldBuilder<HTTPResponseProperties,HTTPResponseProperties.Builder, responseBuilder_HTTPResponsePropertiesOrBuilder>
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<HTTPAccessLogEntry.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<HTTPAccessLogEntry.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<HTTPAccessLogEntry.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
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HTTPAccessLogEntry.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<HTTPAccessLogEntry.Builder>
-
mergeFrom
public HTTPAccessLogEntry.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<HTTPAccessLogEntry.Builder>- Throws:
IOException
-
hasCommonProperties
public boolean hasCommonProperties()Common properties shared by all Envoy access logs.
.envoy.data.accesslog.v3.AccessLogCommon common_properties = 1;- Specified by:
hasCommonPropertiesin interfaceHTTPAccessLogEntryOrBuilder- Returns:
- Whether the commonProperties field is set.
-
getCommonProperties
Common properties shared by all Envoy access logs.
.envoy.data.accesslog.v3.AccessLogCommon common_properties = 1;- Specified by:
getCommonPropertiesin interfaceHTTPAccessLogEntryOrBuilder- Returns:
- The commonProperties.
-
setCommonProperties
Common properties shared by all Envoy access logs.
.envoy.data.accesslog.v3.AccessLogCommon common_properties = 1; -
setCommonProperties
Common properties shared by all Envoy access logs.
.envoy.data.accesslog.v3.AccessLogCommon common_properties = 1; -
mergeCommonProperties
Common properties shared by all Envoy access logs.
.envoy.data.accesslog.v3.AccessLogCommon common_properties = 1; -
clearCommonProperties
Common properties shared by all Envoy access logs.
.envoy.data.accesslog.v3.AccessLogCommon common_properties = 1; -
getCommonPropertiesBuilder
Common properties shared by all Envoy access logs.
.envoy.data.accesslog.v3.AccessLogCommon common_properties = 1; -
getCommonPropertiesOrBuilder
Common properties shared by all Envoy access logs.
.envoy.data.accesslog.v3.AccessLogCommon common_properties = 1;- Specified by:
getCommonPropertiesOrBuilderin interfaceHTTPAccessLogEntryOrBuilder
-
getCommonPropertiesFieldBuilder
private com.google.protobuf.SingleFieldBuilder<AccessLogCommon,AccessLogCommon.Builder, getCommonPropertiesFieldBuilder()AccessLogCommonOrBuilder> Common properties shared by all Envoy access logs.
.envoy.data.accesslog.v3.AccessLogCommon common_properties = 1; -
getProtocolVersionValue
public int getProtocolVersionValue().envoy.data.accesslog.v3.HTTPAccessLogEntry.HTTPVersion protocol_version = 2;- Specified by:
getProtocolVersionValuein interfaceHTTPAccessLogEntryOrBuilder- Returns:
- The enum numeric value on the wire for protocolVersion.
-
setProtocolVersionValue
.envoy.data.accesslog.v3.HTTPAccessLogEntry.HTTPVersion protocol_version = 2;- Parameters:
value- The enum numeric value on the wire for protocolVersion to set.- Returns:
- This builder for chaining.
-
getProtocolVersion
.envoy.data.accesslog.v3.HTTPAccessLogEntry.HTTPVersion protocol_version = 2;- Specified by:
getProtocolVersionin interfaceHTTPAccessLogEntryOrBuilder- Returns:
- The protocolVersion.
-
setProtocolVersion
.envoy.data.accesslog.v3.HTTPAccessLogEntry.HTTPVersion protocol_version = 2;- Parameters:
value- The protocolVersion to set.- Returns:
- This builder for chaining.
-
clearProtocolVersion
.envoy.data.accesslog.v3.HTTPAccessLogEntry.HTTPVersion protocol_version = 2;- Returns:
- This builder for chaining.
-
hasRequest
public boolean hasRequest()Description of the incoming HTTP request.
.envoy.data.accesslog.v3.HTTPRequestProperties request = 3;- Specified by:
hasRequestin interfaceHTTPAccessLogEntryOrBuilder- Returns:
- Whether the request field is set.
-
getRequest
Description of the incoming HTTP request.
.envoy.data.accesslog.v3.HTTPRequestProperties request = 3;- Specified by:
getRequestin interfaceHTTPAccessLogEntryOrBuilder- Returns:
- The request.
-
setRequest
Description of the incoming HTTP request.
.envoy.data.accesslog.v3.HTTPRequestProperties request = 3; -
setRequest
Description of the incoming HTTP request.
.envoy.data.accesslog.v3.HTTPRequestProperties request = 3; -
mergeRequest
Description of the incoming HTTP request.
.envoy.data.accesslog.v3.HTTPRequestProperties request = 3; -
clearRequest
Description of the incoming HTTP request.
.envoy.data.accesslog.v3.HTTPRequestProperties request = 3; -
getRequestBuilder
Description of the incoming HTTP request.
.envoy.data.accesslog.v3.HTTPRequestProperties request = 3; -
getRequestOrBuilder
Description of the incoming HTTP request.
.envoy.data.accesslog.v3.HTTPRequestProperties request = 3;- Specified by:
getRequestOrBuilderin interfaceHTTPAccessLogEntryOrBuilder
-
getRequestFieldBuilder
private com.google.protobuf.SingleFieldBuilder<HTTPRequestProperties,HTTPRequestProperties.Builder, getRequestFieldBuilder()HTTPRequestPropertiesOrBuilder> Description of the incoming HTTP request.
.envoy.data.accesslog.v3.HTTPRequestProperties request = 3; -
hasResponse
public boolean hasResponse()Description of the outgoing HTTP response.
.envoy.data.accesslog.v3.HTTPResponseProperties response = 4;- Specified by:
hasResponsein interfaceHTTPAccessLogEntryOrBuilder- Returns:
- Whether the response field is set.
-
getResponse
Description of the outgoing HTTP response.
.envoy.data.accesslog.v3.HTTPResponseProperties response = 4;- Specified by:
getResponsein interfaceHTTPAccessLogEntryOrBuilder- Returns:
- The response.
-
setResponse
Description of the outgoing HTTP response.
.envoy.data.accesslog.v3.HTTPResponseProperties response = 4; -
setResponse
Description of the outgoing HTTP response.
.envoy.data.accesslog.v3.HTTPResponseProperties response = 4; -
mergeResponse
Description of the outgoing HTTP response.
.envoy.data.accesslog.v3.HTTPResponseProperties response = 4; -
clearResponse
Description of the outgoing HTTP response.
.envoy.data.accesslog.v3.HTTPResponseProperties response = 4; -
getResponseBuilder
Description of the outgoing HTTP response.
.envoy.data.accesslog.v3.HTTPResponseProperties response = 4; -
getResponseOrBuilder
Description of the outgoing HTTP response.
.envoy.data.accesslog.v3.HTTPResponseProperties response = 4;- Specified by:
getResponseOrBuilderin interfaceHTTPAccessLogEntryOrBuilder
-
getResponseFieldBuilder
private com.google.protobuf.SingleFieldBuilder<HTTPResponseProperties,HTTPResponseProperties.Builder, getResponseFieldBuilder()HTTPResponsePropertiesOrBuilder> Description of the outgoing HTTP response.
.envoy.data.accesslog.v3.HTTPResponseProperties response = 4;
-