Class HttpSettings (0.37.0)

public final class HttpSettings extends GeneratedMessage implements HttpSettingsOrBuilder

HTTP settings.

Protobuf type google.cloud.chronicle.v1.HttpSettings

Static Fields

SOURCE_DELETION_OPTION_FIELD_NUMBER

public static final int SOURCE_DELETION_OPTION_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_TYPE_FIELD_NUMBER

public static final int SOURCE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static HttpSettings getDefaultInstance()
Returns
Type Description
HttpSettings

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static HttpSettings.Builder newBuilder()
Returns
Type Description
HttpSettings.Builder

newBuilder(HttpSettings prototype)

public static HttpSettings.Builder newBuilder(HttpSettings prototype)
Parameter
Name Description
prototype HttpSettings
Returns
Type Description
HttpSettings.Builder

parseDelimitedFrom(InputStream input)

public static HttpSettings parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HttpSettings
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HttpSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HttpSettings
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static HttpSettings parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
HttpSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static HttpSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HttpSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HttpSettings parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
HttpSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static HttpSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HttpSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HttpSettings parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
HttpSettings
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static HttpSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HttpSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static HttpSettings parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HttpSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HttpSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HttpSettings
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static HttpSettings parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
HttpSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static HttpSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HttpSettings
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<HttpSettings> parser()
Returns
Type Description
Parser<HttpSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public HttpSettings getDefaultInstanceForType()
Returns
Type Description
HttpSettings

getParserForType()

public Parser<HttpSettings> getParserForType()
Returns
Type Description
Parser<HttpSettings>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceDeletionOption()

public SourceDeletionOption getSourceDeletionOption()

Source deletion option.

.google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 3;

Returns
Type Description
SourceDeletionOption

The sourceDeletionOption.

getSourceDeletionOptionValue()

public int getSourceDeletionOptionValue()

Source deletion option.

.google.cloud.chronicle.v1.SourceDeletionOption source_deletion_option = 3;

Returns
Type Description
int

The enum numeric value on the wire for sourceDeletionOption.

getSourceType()

public URISourceType getSourceType()

The URI source type.

.google.cloud.chronicle.v1.URISourceType source_type = 2;

Returns
Type Description
URISourceType

The sourceType.

getSourceTypeValue()

public int getSourceTypeValue()

The URI source type.

.google.cloud.chronicle.v1.URISourceType source_type = 2;

Returns
Type Description
int

The enum numeric value on the wire for sourceType.

getUri()

public String getUri()

HTTP URI.

string uri = 1;

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

HTTP URI.

string uri = 1;

Returns
Type Description
ByteString

The bytes for uri.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public HttpSettings.Builder newBuilderForType()
Returns
Type Description
HttpSettings.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected HttpSettings.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
HttpSettings.Builder
Overrides

toBuilder()

public HttpSettings.Builder toBuilder()
Returns
Type Description
HttpSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException