public static final class DataAccessLabel.Builder extends GeneratedMessageV3.Builder<DataAccessLabel.Builder> implements DataAccessLabelOrBuilderA DataAccessLabel is a label on events to define user access to data.
Protobuf type google.cloud.chronicle.v1.DataAccessLabel
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DataAccessLabel.BuilderImplements
DataAccessLabelOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataAccessLabel.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
|
build()
public DataAccessLabel build()| Returns | |
|---|---|
| Type | Description |
DataAccessLabel |
|
buildPartial()
public DataAccessLabel buildPartial()| Returns | |
|---|---|
| Type | Description |
DataAccessLabel |
|
clear()
public DataAccessLabel.Builder clear()| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
|
clearAuthor()
public DataAccessLabel.Builder clearAuthor()Output only. The user who created the data access label.
string author = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
This builder for chaining. |
clearCreateTime()
public DataAccessLabel.Builder 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];
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
|
clearDefinition()
public DataAccessLabel.Builder clearDefinition()| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
|
clearDescription()
public DataAccessLabel.Builder clearDescription()Optional. A description of the data access label for a human reader.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
This builder for chaining. |
clearDisplayName()
public DataAccessLabel.Builder 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 | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DataAccessLabel.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
|
clearLastEditor()
public DataAccessLabel.Builder clearLastEditor()Output only. The user who last updated the data access label.
string last_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
This builder for chaining. |
clearName()
public DataAccessLabel.Builder clearName()The unique resource name of the data access label.
string name = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DataAccessLabel.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
|
clearUdmQuery()
public DataAccessLabel.Builder clearUdmQuery()A UDM query over event data.
string udm_query = 3;
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
This builder for chaining. |
clearUpdateTime()
public DataAccessLabel.Builder 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];
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
|
clone()
public DataAccessLabel.Builder clone()| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
|
getAuthor()
public String getAuthor()Output only. The user who created the data access label.
string author = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The author. |
getAuthorBytes()
public ByteString getAuthorBytes()Output only. The user who created the data access label.
string author = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for author. |
getCreateTime()
public 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];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public 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];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public 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];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public DataAccessLabel getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DataAccessLabel |
|
getDefinitionCase()
public DataAccessLabel.DefinitionCase getDefinitionCase()| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.DefinitionCase |
|
getDescription()
public String getDescription()Optional. A description of the data access label for a human reader.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Optional. A description of the data access label for a human reader.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String 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];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public 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];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getLastEditor()
public String getLastEditor()Output only. The user who last updated the data access label.
string last_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The lastEditor. |
getLastEditorBytes()
public ByteString getLastEditorBytes()Output only. The user who last updated the data access label.
string last_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for lastEditor. |
getName()
public String getName()The unique resource name of the data access label.
string name = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()The unique resource name of the data access label.
string name = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getUdmQuery()
public String getUdmQuery()A UDM query over event data.
string udm_query = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The udmQuery. |
getUdmQueryBytes()
public ByteString getUdmQueryBytes()A UDM query over event data.
string udm_query = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for udmQuery. |
getUpdateTime()
public 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];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public 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];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public 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];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
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];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasUdmQuery()
public boolean hasUdmQuery()A UDM query over event data.
string udm_query = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the udmQuery field is set. |
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];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public DataAccessLabel.Builder mergeCreateTime(Timestamp value)Output only. The time at which the data access label was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
|
mergeFrom(DataAccessLabel other)
public DataAccessLabel.Builder mergeFrom(DataAccessLabel other)| Parameter | |
|---|---|
| Name | Description |
other |
DataAccessLabel |
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataAccessLabel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DataAccessLabel.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataAccessLabel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
|
mergeUpdateTime(Timestamp value)
public DataAccessLabel.Builder mergeUpdateTime(Timestamp value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
|
setAuthor(String value)
public DataAccessLabel.Builder setAuthor(String value)Output only. The user who created the data access label.
string author = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe author to set. |
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
This builder for chaining. |
setAuthorBytes(ByteString value)
public DataAccessLabel.Builder setAuthorBytes(ByteString value)Output only. The user who created the data access label.
string author = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for author to set. |
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
This builder for chaining. |
setCreateTime(Timestamp value)
public DataAccessLabel.Builder setCreateTime(Timestamp value)Output only. The time at which the data access label was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public DataAccessLabel.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. The time at which the data access label was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
|
setDescription(String value)
public DataAccessLabel.Builder setDescription(String value)Optional. A description of the data access label for a human reader.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public DataAccessLabel.Builder setDescriptionBytes(ByteString value)Optional. A description of the data access label for a human reader.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
This builder for chaining. |
setDisplayName(String value)
public DataAccessLabel.Builder setDisplayName(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public DataAccessLabel.Builder setDisplayNameBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DataAccessLabel.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
|
setLastEditor(String value)
public DataAccessLabel.Builder setLastEditor(String value)Output only. The user who last updated the data access label.
string last_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe lastEditor to set. |
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
This builder for chaining. |
setLastEditorBytes(ByteString value)
public DataAccessLabel.Builder setLastEditorBytes(ByteString value)Output only. The user who last updated the data access label.
string last_editor = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for lastEditor to set. |
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
This builder for chaining. |
setName(String value)
public DataAccessLabel.Builder setName(String value)The unique resource name of the data access label.
string name = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DataAccessLabel.Builder setNameBytes(ByteString value)The unique resource name of the data access label.
string name = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataAccessLabel.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
|
setUdmQuery(String value)
public DataAccessLabel.Builder setUdmQuery(String value)A UDM query over event data.
string udm_query = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe udmQuery to set. |
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
This builder for chaining. |
setUdmQueryBytes(ByteString value)
public DataAccessLabel.Builder setUdmQueryBytes(ByteString value)A UDM query over event data.
string udm_query = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for udmQuery to set. |
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final DataAccessLabel.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
|
setUpdateTime(Timestamp value)
public DataAccessLabel.Builder setUpdateTime(Timestamp value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public DataAccessLabel.Builder setUpdateTime(Timestamp.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
DataAccessLabel.Builder |
|