Package com.google.cloud.chronicle.v1
Class DataAccessLabel.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DataAccessLabel.Builder>
com.google.cloud.chronicle.v1.DataAccessLabel.Builder
- All Implemented Interfaces:
DataAccessLabelOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DataAccessLabel
public static final class DataAccessLabel.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DataAccessLabel.Builder>
implements DataAccessLabelOrBuilder
A DataAccessLabel is a label on events to define user access to data.Protobuf type
google.cloud.chronicle.v1.DataAccessLabel-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Optional.Output only.Output only.The unique resource name of the data access label.A UDM query over event data.Output only.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.getName()The unique resource name of the data access label.com.google.protobuf.ByteStringThe unique resource name of the data access label.A UDM query over event data.com.google.protobuf.ByteStringA UDM query over event data.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanA UDM query over event data.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(DataAccessLabel other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.Output only.setAuthorBytes(com.google.protobuf.ByteString value) Output only.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDescription(String value) Optional.setDescriptionBytes(com.google.protobuf.ByteString value) Optional.setDisplayName(String value) Output only.setDisplayNameBytes(com.google.protobuf.ByteString value) Output only.setLastEditor(String value) Output only.setLastEditorBytes(com.google.protobuf.ByteString value) Output only.The unique resource name of the data access label.setNameBytes(com.google.protobuf.ByteString value) The unique resource name of the data access label.setUdmQuery(String value) A UDM query over event data.setUdmQueryBytes(com.google.protobuf.ByteString value) A UDM query over event data.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.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<DataAccessLabel.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<DataAccessLabel.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<DataAccessLabel.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<DataAccessLabel.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DataAccessLabel.Builder>
-
mergeFrom
public DataAccessLabel.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<DataAccessLabel.Builder>- Throws:
IOException
-
getDefinitionCase
- Specified by:
getDefinitionCasein interfaceDataAccessLabelOrBuilder
-
clearDefinition
-
hasUdmQuery
public boolean hasUdmQuery()A UDM query over event data.
string udm_query = 3;- Specified by:
hasUdmQueryin interfaceDataAccessLabelOrBuilder- Returns:
- Whether the udmQuery field is set.
-
getUdmQuery
A UDM query over event data.
string udm_query = 3;- Specified by:
getUdmQueryin interfaceDataAccessLabelOrBuilder- Returns:
- The udmQuery.
-
getUdmQueryBytes
public com.google.protobuf.ByteString getUdmQueryBytes()A UDM query over event data.
string udm_query = 3;- Specified by:
getUdmQueryBytesin interfaceDataAccessLabelOrBuilder- Returns:
- The bytes for udmQuery.
-
setUdmQuery
A UDM query over event data.
string udm_query = 3;- Parameters:
value- The udmQuery to set.- Returns:
- This builder for chaining.
-
clearUdmQuery
A UDM query over event data.
string udm_query = 3;- Returns:
- This builder for chaining.
-
setUdmQueryBytes
A UDM query over event data.
string udm_query = 3;- Parameters:
value- The bytes for udmQuery to set.- Returns:
- This builder for chaining.
-
getName
The unique resource name of the data access label.
string name = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getNamein interfaceDataAccessLabelOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The unique resource name of the data access label.
string name = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getNameBytesin interfaceDataAccessLabelOrBuilder- Returns:
- The bytes for name.
-
setName
The unique resource name of the data access label.
string name = 1 [(.google.api.resource_reference) = { ... }- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The unique resource name of the data access label.
string name = 1 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setNameBytes
The unique resource name of the data access label.
string name = 1 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
Output only. The short name displayed for the label as it appears on event data.
string display_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDisplayNamein interfaceDataAccessLabelOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Output only. The short name displayed for the label as it appears on event data.
string display_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDisplayNameBytesin interfaceDataAccessLabelOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Output only. The short name displayed for the label as it appears on event data.
string display_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Output only. The short name displayed for the label as it appears on event data.
string display_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Output only. The short name displayed for the label as it appears on event data.
string display_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. The time at which the data access label was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceDataAccessLabelOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The time at which the data access label was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceDataAccessLabelOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The time at which the data access label was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The time at which the data access label was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The time at which the data access label was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The time at which the data access label was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. The time at which the data access label was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time at which the data access label was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceDataAccessLabelOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The time at which the data access label was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceDataAccessLabelOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The time at which the data access label was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceDataAccessLabelOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. The time at which the data access label was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. The time at which the data access label was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. The time at which the data access label was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. The time at which the data access label was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. The time at which the data access label was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The time at which the data access label was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceDataAccessLabelOrBuilder
-
getAuthor
Output only. The user who created the data access label.
string author = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAuthorin interfaceDataAccessLabelOrBuilder- Returns:
- The author.
-
getAuthorBytes
public com.google.protobuf.ByteString getAuthorBytes()Output only. The user who created the data access label.
string author = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAuthorBytesin interfaceDataAccessLabelOrBuilder- Returns:
- The bytes for author.
-
setAuthor
Output only. The user who created the data access label.
string author = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The author to set.- Returns:
- This builder for chaining.
-
clearAuthor
Output only. The user who created the data access label.
string author = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setAuthorBytes
Output only. The user who created the data access label.
string author = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for author to set.- Returns:
- This builder for chaining.
-
getLastEditor
Output only. The user who last updated the data access label.
string last_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLastEditorin interfaceDataAccessLabelOrBuilder- Returns:
- The lastEditor.
-
getLastEditorBytes
public com.google.protobuf.ByteString getLastEditorBytes()Output only. The user who last updated the data access label.
string last_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLastEditorBytesin interfaceDataAccessLabelOrBuilder- Returns:
- The bytes for lastEditor.
-
setLastEditor
Output only. The user who last updated the data access label.
string last_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The lastEditor to set.- Returns:
- This builder for chaining.
-
clearLastEditor
Output only. The user who last updated the data access label.
string last_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setLastEditorBytes
Output only. The user who last updated the data access label.
string last_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for lastEditor to set.- Returns:
- This builder for chaining.
-
getDescription
Optional. A description of the data access label for a human reader.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfaceDataAccessLabelOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Optional. A description of the data access label for a human reader.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionBytesin interfaceDataAccessLabelOrBuilder- Returns:
- The bytes for description.
-
setDescription
Optional. A description of the data access label for a human reader.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Optional. A description of the data access label for a human reader.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDescriptionBytes
Optional. A description of the data access label for a human reader.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-