Package com.google.cloud.chronicle.v1
Class DataAccessLabelReference.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DataAccessLabelReference.Builder>
com.google.cloud.chronicle.v1.DataAccessLabelReference.Builder
- All Implemented Interfaces:
DataAccessLabelReferenceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DataAccessLabelReference
public static final class DataAccessLabelReference.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DataAccessLabelReference.Builder>
implements DataAccessLabelReferenceOrBuilder
Reference object to a data access label.Protobuf type
google.cloud.chronicle.v1.DataAccessLabelReference-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The asset namespace configured in the forwarder of the customer's events.The name of the data access label.Output only.The ingestion label configured in the forwarder of the customer's events.The name of the log type.The asset namespace configured in the forwarder of the customer's events.com.google.protobuf.ByteStringThe asset namespace configured in the forwarder of the customer's events.The name of the data access label.com.google.protobuf.ByteStringThe name of the data access label.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.The ingestion label configured in the forwarder of the customer's events.The ingestion label configured in the forwarder of the customer's events.The ingestion label configured in the forwarder of the customer's events.The name of the log type.com.google.protobuf.ByteStringThe name of the log type.booleanThe asset namespace configured in the forwarder of the customer's events.booleanThe name of the data access label.booleanThe ingestion label configured in the forwarder of the customer's events.booleanThe name of the log type.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The ingestion label configured in the forwarder of the customer's events.setAssetNamespace(String value) The asset namespace configured in the forwarder of the customer's events.setAssetNamespaceBytes(com.google.protobuf.ByteString value) The asset namespace configured in the forwarder of the customer's events.setDataAccessLabel(String value) The name of the data access label.setDataAccessLabelBytes(com.google.protobuf.ByteString value) The name of the data access label.setDisplayName(String value) Output only.setDisplayNameBytes(com.google.protobuf.ByteString value) Output only.setIngestionLabel(IngestionLabel value) The ingestion label configured in the forwarder of the customer's events.setIngestionLabel(IngestionLabel.Builder builderForValue) The ingestion label configured in the forwarder of the customer's events.setLogType(String value) The name of the log type.setLogTypeBytes(com.google.protobuf.ByteString value) The name of the log type.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
-
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<DataAccessLabelReference.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DataAccessLabelReference.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<DataAccessLabelReference.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
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataAccessLabelReference.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DataAccessLabelReference.Builder>
-
mergeFrom
public DataAccessLabelReference.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<DataAccessLabelReference.Builder>- Throws:
IOException
-
getLabelCase
- Specified by:
getLabelCasein interfaceDataAccessLabelReferenceOrBuilder
-
clearLabel
-
hasDataAccessLabel
public boolean hasDataAccessLabel()The name of the data access label.
string data_access_label = 1;- Specified by:
hasDataAccessLabelin interfaceDataAccessLabelReferenceOrBuilder- Returns:
- Whether the dataAccessLabel field is set.
-
getDataAccessLabel
The name of the data access label.
string data_access_label = 1;- Specified by:
getDataAccessLabelin interfaceDataAccessLabelReferenceOrBuilder- Returns:
- The dataAccessLabel.
-
getDataAccessLabelBytes
public com.google.protobuf.ByteString getDataAccessLabelBytes()The name of the data access label.
string data_access_label = 1;- Specified by:
getDataAccessLabelBytesin interfaceDataAccessLabelReferenceOrBuilder- Returns:
- The bytes for dataAccessLabel.
-
setDataAccessLabel
The name of the data access label.
string data_access_label = 1;- Parameters:
value- The dataAccessLabel to set.- Returns:
- This builder for chaining.
-
clearDataAccessLabel
The name of the data access label.
string data_access_label = 1;- Returns:
- This builder for chaining.
-
setDataAccessLabelBytes
public DataAccessLabelReference.Builder setDataAccessLabelBytes(com.google.protobuf.ByteString value) The name of the data access label.
string data_access_label = 1;- Parameters:
value- The bytes for dataAccessLabel to set.- Returns:
- This builder for chaining.
-
hasLogType
public boolean hasLogType()The name of the log type.
string log_type = 2;- Specified by:
hasLogTypein interfaceDataAccessLabelReferenceOrBuilder- Returns:
- Whether the logType field is set.
-
getLogType
The name of the log type.
string log_type = 2;- Specified by:
getLogTypein interfaceDataAccessLabelReferenceOrBuilder- Returns:
- The logType.
-
getLogTypeBytes
public com.google.protobuf.ByteString getLogTypeBytes()The name of the log type.
string log_type = 2;- Specified by:
getLogTypeBytesin interfaceDataAccessLabelReferenceOrBuilder- Returns:
- The bytes for logType.
-
setLogType
The name of the log type.
string log_type = 2;- Parameters:
value- The logType to set.- Returns:
- This builder for chaining.
-
clearLogType
The name of the log type.
string log_type = 2;- Returns:
- This builder for chaining.
-
setLogTypeBytes
The name of the log type.
string log_type = 2;- Parameters:
value- The bytes for logType to set.- Returns:
- This builder for chaining.
-
hasAssetNamespace
public boolean hasAssetNamespace()The asset namespace configured in the forwarder of the customer's events.
string asset_namespace = 3;- Specified by:
hasAssetNamespacein interfaceDataAccessLabelReferenceOrBuilder- Returns:
- Whether the assetNamespace field is set.
-
getAssetNamespace
The asset namespace configured in the forwarder of the customer's events.
string asset_namespace = 3;- Specified by:
getAssetNamespacein interfaceDataAccessLabelReferenceOrBuilder- Returns:
- The assetNamespace.
-
getAssetNamespaceBytes
public com.google.protobuf.ByteString getAssetNamespaceBytes()The asset namespace configured in the forwarder of the customer's events.
string asset_namespace = 3;- Specified by:
getAssetNamespaceBytesin interfaceDataAccessLabelReferenceOrBuilder- Returns:
- The bytes for assetNamespace.
-
setAssetNamespace
The asset namespace configured in the forwarder of the customer's events.
string asset_namespace = 3;- Parameters:
value- The assetNamespace to set.- Returns:
- This builder for chaining.
-
clearAssetNamespace
The asset namespace configured in the forwarder of the customer's events.
string asset_namespace = 3;- Returns:
- This builder for chaining.
-
setAssetNamespaceBytes
public DataAccessLabelReference.Builder setAssetNamespaceBytes(com.google.protobuf.ByteString value) The asset namespace configured in the forwarder of the customer's events.
string asset_namespace = 3;- Parameters:
value- The bytes for assetNamespace to set.- Returns:
- This builder for chaining.
-
hasIngestionLabel
public boolean hasIngestionLabel()The ingestion label configured in the forwarder of the customer's events.
.google.cloud.chronicle.v1.IngestionLabel ingestion_label = 4;- Specified by:
hasIngestionLabelin interfaceDataAccessLabelReferenceOrBuilder- Returns:
- Whether the ingestionLabel field is set.
-
getIngestionLabel
The ingestion label configured in the forwarder of the customer's events.
.google.cloud.chronicle.v1.IngestionLabel ingestion_label = 4;- Specified by:
getIngestionLabelin interfaceDataAccessLabelReferenceOrBuilder- Returns:
- The ingestionLabel.
-
setIngestionLabel
The ingestion label configured in the forwarder of the customer's events.
.google.cloud.chronicle.v1.IngestionLabel ingestion_label = 4; -
setIngestionLabel
The ingestion label configured in the forwarder of the customer's events.
.google.cloud.chronicle.v1.IngestionLabel ingestion_label = 4; -
mergeIngestionLabel
The ingestion label configured in the forwarder of the customer's events.
.google.cloud.chronicle.v1.IngestionLabel ingestion_label = 4; -
clearIngestionLabel
The ingestion label configured in the forwarder of the customer's events.
.google.cloud.chronicle.v1.IngestionLabel ingestion_label = 4; -
getIngestionLabelBuilder
The ingestion label configured in the forwarder of the customer's events.
.google.cloud.chronicle.v1.IngestionLabel ingestion_label = 4; -
getIngestionLabelOrBuilder
The ingestion label configured in the forwarder of the customer's events.
.google.cloud.chronicle.v1.IngestionLabel ingestion_label = 4;- Specified by:
getIngestionLabelOrBuilderin interfaceDataAccessLabelReferenceOrBuilder
-
getDisplayName
Output only. The display name of the label. Data access label and log types's name will match the display name of the resource. The asset namespace will match the namespace itself. The ingestion key value pair will match the key of the tuple.
string display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDisplayNamein interfaceDataAccessLabelReferenceOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Output only. The display name of the label. Data access label and log types's name will match the display name of the resource. The asset namespace will match the namespace itself. The ingestion key value pair will match the key of the tuple.
string display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDisplayNameBytesin interfaceDataAccessLabelReferenceOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Output only. The display name of the label. Data access label and log types's name will match the display name of the resource. The asset namespace will match the namespace itself. The ingestion key value pair will match the key of the tuple.
string display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Output only. The display name of the label. Data access label and log types's name will match the display name of the resource. The asset namespace will match the namespace itself. The ingestion key value pair will match the key of the tuple.
string display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Output only. The display name of the label. Data access label and log types's name will match the display name of the resource. The asset namespace will match the namespace itself. The ingestion key value pair will match the key of the tuple.
string display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-