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 int
private AccessLogCommon
private com.google.protobuf.SingleFieldBuilder
<AccessLogCommon, AccessLogCommon.Builder, AccessLogCommonOrBuilder> private int
private HTTPRequestProperties
private com.google.protobuf.SingleFieldBuilder
<HTTPRequestProperties, HTTPRequestProperties.Builder, HTTPRequestPropertiesOrBuilder> private HTTPResponseProperties
private com.google.protobuf.SingleFieldBuilder
<HTTPResponseProperties, HTTPResponseProperties.Builder, HTTPResponsePropertiesOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
private void
buildPartial0
(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.Descriptor
com.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.boolean
Common properties shared by all Envoy access logs.boolean
Description of the incoming HTTP request.boolean
Description of the outgoing HTTP response.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
private void
Common 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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<HTTPAccessLogEntry.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<HTTPAccessLogEntry.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<HTTPAccessLogEntry.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HTTPAccessLogEntry.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasCommonProperties
in 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:
getCommonProperties
in 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:
getCommonPropertiesOrBuilder
in 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:
getProtocolVersionValue
in 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:
getProtocolVersion
in 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:
hasRequest
in interfaceHTTPAccessLogEntryOrBuilder
- Returns:
- Whether the request field is set.
-
getRequest
Description of the incoming HTTP request.
.envoy.data.accesslog.v3.HTTPRequestProperties request = 3;
- Specified by:
getRequest
in 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:
getRequestOrBuilder
in 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:
hasResponse
in interfaceHTTPAccessLogEntryOrBuilder
- Returns:
- Whether the response field is set.
-
getResponse
Description of the outgoing HTTP response.
.envoy.data.accesslog.v3.HTTPResponseProperties response = 4;
- Specified by:
getResponse
in 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:
getResponseOrBuilder
in 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;
-