public final class BackendServiceLogConfigLoggingHttpHeader extends GeneratedMessage implements BackendServiceLogConfigLoggingHttpHeaderOrBuilderDetermines which HTTP headers will be logged to Stackdriver.
Protobuf type google.cloud.compute.v1.BackendServiceLogConfigLoggingHttpHeader
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > BackendServiceLogConfigLoggingHttpHeaderStatic Fields
HEADER_NAME_FIELD_NUMBER
public static final int HEADER_NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static BackendServiceLogConfigLoggingHttpHeader getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
BackendServiceLogConfigLoggingHttpHeader |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static BackendServiceLogConfigLoggingHttpHeader.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
BackendServiceLogConfigLoggingHttpHeader.Builder |
|
newBuilder(BackendServiceLogConfigLoggingHttpHeader prototype)
public static BackendServiceLogConfigLoggingHttpHeader.Builder newBuilder(BackendServiceLogConfigLoggingHttpHeader prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
BackendServiceLogConfigLoggingHttpHeader |
| Returns | |
|---|---|
| Type | Description |
BackendServiceLogConfigLoggingHttpHeader.Builder |
|
parseDelimitedFrom(InputStream input)
public static BackendServiceLogConfigLoggingHttpHeader parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
BackendServiceLogConfigLoggingHttpHeader |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BackendServiceLogConfigLoggingHttpHeader parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BackendServiceLogConfigLoggingHttpHeader |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static BackendServiceLogConfigLoggingHttpHeader parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
BackendServiceLogConfigLoggingHttpHeader |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BackendServiceLogConfigLoggingHttpHeader parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BackendServiceLogConfigLoggingHttpHeader |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static BackendServiceLogConfigLoggingHttpHeader parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
BackendServiceLogConfigLoggingHttpHeader |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BackendServiceLogConfigLoggingHttpHeader parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BackendServiceLogConfigLoggingHttpHeader |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static BackendServiceLogConfigLoggingHttpHeader parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
BackendServiceLogConfigLoggingHttpHeader |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BackendServiceLogConfigLoggingHttpHeader parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BackendServiceLogConfigLoggingHttpHeader |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static BackendServiceLogConfigLoggingHttpHeader parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
BackendServiceLogConfigLoggingHttpHeader |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BackendServiceLogConfigLoggingHttpHeader parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BackendServiceLogConfigLoggingHttpHeader |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static BackendServiceLogConfigLoggingHttpHeader parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
BackendServiceLogConfigLoggingHttpHeader |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BackendServiceLogConfigLoggingHttpHeader parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BackendServiceLogConfigLoggingHttpHeader |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<BackendServiceLogConfigLoggingHttpHeader> parser()| Returns | |
|---|---|
| Type | Description |
Parser<BackendServiceLogConfigLoggingHttpHeader> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public BackendServiceLogConfigLoggingHttpHeader getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BackendServiceLogConfigLoggingHttpHeader |
|
getHeaderName()
public String getHeaderName()The name of the header to be logged.
optional string header_name = 110223613;
| Returns | |
|---|---|
| Type | Description |
String |
The headerName. |
getHeaderNameBytes()
public ByteString getHeaderNameBytes()The name of the header to be logged.
optional string header_name = 110223613;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for headerName. |
getParserForType()
public Parser<BackendServiceLogConfigLoggingHttpHeader> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<BackendServiceLogConfigLoggingHttpHeader> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasHeaderName()
public boolean hasHeaderName()The name of the header to be logged.
optional string header_name = 110223613;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the headerName field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public BackendServiceLogConfigLoggingHttpHeader.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
BackendServiceLogConfigLoggingHttpHeader.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected BackendServiceLogConfigLoggingHttpHeader.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
BackendServiceLogConfigLoggingHttpHeader.Builder |
|
toBuilder()
public BackendServiceLogConfigLoggingHttpHeader.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
BackendServiceLogConfigLoggingHttpHeader.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|