public static final class PackLogType.Builder extends GeneratedMessage.Builder<PackLogType.Builder> implements PackLogTypeOrBuilderPackLogtype is a log type featured in the feed pack.
Protobuf type google.cloud.chronicle.v1.PackLogType
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PackLogType.BuilderImplements
PackLogTypeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PackLogType build()| Returns | |
|---|---|
| Type | Description |
PackLogType |
|
buildPartial()
public PackLogType buildPartial()| Returns | |
|---|---|
| Type | Description |
PackLogType |
|
clear()
public PackLogType.Builder clear()| Returns | |
|---|---|
| Type | Description |
PackLogType.Builder |
|
clearAdditionalDocumentation()
public PackLogType.Builder clearAdditionalDocumentation()Documentation to share any CTAs for more reference.
string additional_documentation = 7;
| Returns | |
|---|---|
| Type | Description |
PackLogType.Builder |
This builder for chaining. |
clearConfigurationDocumentation()
public PackLogType.Builder clearConfigurationDocumentation()Documentation to define steps on how to configure a log type.
string configuration_documentation = 6;
| Returns | |
|---|---|
| Type | Description |
PackLogType.Builder |
This builder for chaining. |
clearDisplayName()
public PackLogType.Builder clearDisplayName()The display name of the log type.
string display_name = 5;
| Returns | |
|---|---|
| Type | Description |
PackLogType.Builder |
This builder for chaining. |
clearHasDefaultParser()
public PackLogType.Builder clearHasDefaultParser()Whether a default(prebuilt) parser is available for the given log type.
bool has_default_parser = 3;
| Returns | |
|---|---|
| Type | Description |
PackLogType.Builder |
This builder for chaining. |
clearLogType()
public PackLogType.Builder clearLogType()Log Type featured in the feed pack. Format: projects/{project}/locations/{location}/instances/{instance}/logTypes/{log_type}
string log_type = 1;
| Returns | |
|---|---|
| Type | Description |
PackLogType.Builder |
This builder for chaining. |
clearRecommendedSourceType()
public PackLogType.Builder clearRecommendedSourceType()The recommended source type for the log type.
.google.cloud.chronicle.v1.FeedDetails.FeedSourceType recommended_source_type = 4;
| Returns | |
|---|---|
| Type | Description |
PackLogType.Builder |
This builder for chaining. |
clearRequired()
public PackLogType.Builder clearRequired()Whether the logtype is required to deploy a feed pack.
bool required = 2;
| Returns | |
|---|---|
| Type | Description |
PackLogType.Builder |
This builder for chaining. |
getAdditionalDocumentation()
public String getAdditionalDocumentation()Documentation to share any CTAs for more reference.
string additional_documentation = 7;
| Returns | |
|---|---|
| Type | Description |
String |
The additionalDocumentation. |
getAdditionalDocumentationBytes()
public ByteString getAdditionalDocumentationBytes()Documentation to share any CTAs for more reference.
string additional_documentation = 7;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for additionalDocumentation. |
getConfigurationDocumentation()
public String getConfigurationDocumentation()Documentation to define steps on how to configure a log type.
string configuration_documentation = 6;
| Returns | |
|---|---|
| Type | Description |
String |
The configurationDocumentation. |
getConfigurationDocumentationBytes()
public ByteString getConfigurationDocumentationBytes()Documentation to define steps on how to configure a log type.
string configuration_documentation = 6;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for configurationDocumentation. |
getDefaultInstanceForType()
public PackLogType getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PackLogType |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()The display name of the log type.
string display_name = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()The display name of the log type.
string display_name = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getHasDefaultParser()
public boolean getHasDefaultParser()Whether a default(prebuilt) parser is available for the given log type.
bool has_default_parser = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
The hasDefaultParser. |
getLogType()
public String getLogType()Log Type featured in the feed pack. Format: projects/{project}/locations/{location}/instances/{instance}/logTypes/{log_type}
string log_type = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The logType. |
getLogTypeBytes()
public ByteString getLogTypeBytes()Log Type featured in the feed pack. Format: projects/{project}/locations/{location}/instances/{instance}/logTypes/{log_type}
string log_type = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for logType. |
getRecommendedSourceType()
public FeedDetails.FeedSourceType getRecommendedSourceType()The recommended source type for the log type.
.google.cloud.chronicle.v1.FeedDetails.FeedSourceType recommended_source_type = 4;
| Returns | |
|---|---|
| Type | Description |
FeedDetails.FeedSourceType |
The recommendedSourceType. |
getRecommendedSourceTypeValue()
public int getRecommendedSourceTypeValue()The recommended source type for the log type.
.google.cloud.chronicle.v1.FeedDetails.FeedSourceType recommended_source_type = 4;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for recommendedSourceType. |
getRequired()
public boolean getRequired()Whether the logtype is required to deploy a feed pack.
bool required = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
The required. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PackLogType other)
public PackLogType.Builder mergeFrom(PackLogType other)| Parameter | |
|---|---|
| Name | Description |
other |
PackLogType |
| Returns | |
|---|---|
| Type | Description |
PackLogType.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PackLogType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PackLogType.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PackLogType.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PackLogType.Builder |
|
setAdditionalDocumentation(String value)
public PackLogType.Builder setAdditionalDocumentation(String value)Documentation to share any CTAs for more reference.
string additional_documentation = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe additionalDocumentation to set. |
| Returns | |
|---|---|
| Type | Description |
PackLogType.Builder |
This builder for chaining. |
setAdditionalDocumentationBytes(ByteString value)
public PackLogType.Builder setAdditionalDocumentationBytes(ByteString value)Documentation to share any CTAs for more reference.
string additional_documentation = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for additionalDocumentation to set. |
| Returns | |
|---|---|
| Type | Description |
PackLogType.Builder |
This builder for chaining. |
setConfigurationDocumentation(String value)
public PackLogType.Builder setConfigurationDocumentation(String value)Documentation to define steps on how to configure a log type.
string configuration_documentation = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe configurationDocumentation to set. |
| Returns | |
|---|---|
| Type | Description |
PackLogType.Builder |
This builder for chaining. |
setConfigurationDocumentationBytes(ByteString value)
public PackLogType.Builder setConfigurationDocumentationBytes(ByteString value)Documentation to define steps on how to configure a log type.
string configuration_documentation = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for configurationDocumentation to set. |
| Returns | |
|---|---|
| Type | Description |
PackLogType.Builder |
This builder for chaining. |
setDisplayName(String value)
public PackLogType.Builder setDisplayName(String value)The display name of the log type.
string display_name = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
PackLogType.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public PackLogType.Builder setDisplayNameBytes(ByteString value)The display name of the log type.
string display_name = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
PackLogType.Builder |
This builder for chaining. |
setHasDefaultParser(boolean value)
public PackLogType.Builder setHasDefaultParser(boolean value)Whether a default(prebuilt) parser is available for the given log type.
bool has_default_parser = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe hasDefaultParser to set. |
| Returns | |
|---|---|
| Type | Description |
PackLogType.Builder |
This builder for chaining. |
setLogType(String value)
public PackLogType.Builder setLogType(String value)Log Type featured in the feed pack. Format: projects/{project}/locations/{location}/instances/{instance}/logTypes/{log_type}
string log_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe logType to set. |
| Returns | |
|---|---|
| Type | Description |
PackLogType.Builder |
This builder for chaining. |
setLogTypeBytes(ByteString value)
public PackLogType.Builder setLogTypeBytes(ByteString value)Log Type featured in the feed pack. Format: projects/{project}/locations/{location}/instances/{instance}/logTypes/{log_type}
string log_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for logType to set. |
| Returns | |
|---|---|
| Type | Description |
PackLogType.Builder |
This builder for chaining. |
setRecommendedSourceType(FeedDetails.FeedSourceType value)
public PackLogType.Builder setRecommendedSourceType(FeedDetails.FeedSourceType value)The recommended source type for the log type.
.google.cloud.chronicle.v1.FeedDetails.FeedSourceType recommended_source_type = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
FeedDetails.FeedSourceTypeThe recommendedSourceType to set. |
| Returns | |
|---|---|
| Type | Description |
PackLogType.Builder |
This builder for chaining. |
setRecommendedSourceTypeValue(int value)
public PackLogType.Builder setRecommendedSourceTypeValue(int value)The recommended source type for the log type.
.google.cloud.chronicle.v1.FeedDetails.FeedSourceType recommended_source_type = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for recommendedSourceType to set. |
| Returns | |
|---|---|
| Type | Description |
PackLogType.Builder |
This builder for chaining. |
setRequired(boolean value)
public PackLogType.Builder setRequired(boolean value)Whether the logtype is required to deploy a feed pack.
bool required = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe required to set. |
| Returns | |
|---|---|
| Type | Description |
PackLogType.Builder |
This builder for chaining. |