public static final class DataAccessLabelReference.Builder extends GeneratedMessageV3.Builder<DataAccessLabelReference.Builder> implements DataAccessLabelReferenceOrBuilder
Reference object to a data access label.
Protobuf type google.cloud.chronicle.v1.DataAccessLabelReference
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DataAccessLabelReference.BuilderImplements
DataAccessLabelReferenceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataAccessLabelReference.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DataAccessLabelReference.Builder |
build()
public DataAccessLabelReference build()
Returns | |
---|---|
Type | Description |
DataAccessLabelReference |
buildPartial()
public DataAccessLabelReference buildPartial()
Returns | |
---|---|
Type | Description |
DataAccessLabelReference |
clear()
public DataAccessLabelReference.Builder clear()
Returns | |
---|---|
Type | Description |
DataAccessLabelReference.Builder |
clearAssetNamespace()
public DataAccessLabelReference.Builder clearAssetNamespace()
The asset namespace configured in the forwarder of the customer's events.
string asset_namespace = 3;
Returns | |
---|---|
Type | Description |
DataAccessLabelReference.Builder |
This builder for chaining. |
clearDataAccessLabel()
public DataAccessLabelReference.Builder clearDataAccessLabel()
The name of the data access label.
string data_access_label = 1;
Returns | |
---|---|
Type | Description |
DataAccessLabelReference.Builder |
This builder for chaining. |
clearDisplayName()
public DataAccessLabelReference.Builder 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 | |
---|---|
Type | Description |
DataAccessLabelReference.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DataAccessLabelReference.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
DataAccessLabelReference.Builder |
clearIngestionLabel()
public DataAccessLabelReference.Builder clearIngestionLabel()
The ingestion label configured in the forwarder of the customer's events.
.google.cloud.chronicle.v1.IngestionLabel ingestion_label = 4;
Returns | |
---|---|
Type | Description |
DataAccessLabelReference.Builder |
clearLabel()
public DataAccessLabelReference.Builder clearLabel()
Returns | |
---|---|
Type | Description |
DataAccessLabelReference.Builder |
clearLogType()
public DataAccessLabelReference.Builder clearLogType()
The name of the log type.
string log_type = 2;
Returns | |
---|---|
Type | Description |
DataAccessLabelReference.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DataAccessLabelReference.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
DataAccessLabelReference.Builder |
clone()
public DataAccessLabelReference.Builder clone()
Returns | |
---|---|
Type | Description |
DataAccessLabelReference.Builder |
getAssetNamespace()
public String getAssetNamespace()
The asset namespace configured in the forwarder of the customer's events.
string asset_namespace = 3;
Returns | |
---|---|
Type | Description |
String |
The assetNamespace. |
getAssetNamespaceBytes()
public ByteString getAssetNamespaceBytes()
The asset namespace configured in the forwarder of the customer's events.
string asset_namespace = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for assetNamespace. |
getDataAccessLabel()
public String getDataAccessLabel()
The name of the data access label.
string data_access_label = 1;
Returns | |
---|---|
Type | Description |
String |
The dataAccessLabel. |
getDataAccessLabelBytes()
public ByteString getDataAccessLabelBytes()
The name of the data access label.
string data_access_label = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for dataAccessLabel. |
getDefaultInstanceForType()
public DataAccessLabelReference getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DataAccessLabelReference |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String 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];
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public 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];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getIngestionLabel()
public IngestionLabel getIngestionLabel()
The ingestion label configured in the forwarder of the customer's events.
.google.cloud.chronicle.v1.IngestionLabel ingestion_label = 4;
Returns | |
---|---|
Type | Description |
IngestionLabel |
The ingestionLabel. |
getIngestionLabelBuilder()
public IngestionLabel.Builder getIngestionLabelBuilder()
The ingestion label configured in the forwarder of the customer's events.
.google.cloud.chronicle.v1.IngestionLabel ingestion_label = 4;
Returns | |
---|---|
Type | Description |
IngestionLabel.Builder |
getIngestionLabelOrBuilder()
public IngestionLabelOrBuilder getIngestionLabelOrBuilder()
The ingestion label configured in the forwarder of the customer's events.
.google.cloud.chronicle.v1.IngestionLabel ingestion_label = 4;
Returns | |
---|---|
Type | Description |
IngestionLabelOrBuilder |
getLabelCase()
public DataAccessLabelReference.LabelCase getLabelCase()
Returns | |
---|---|
Type | Description |
DataAccessLabelReference.LabelCase |
getLogType()
public String getLogType()
The name of the log type.
string log_type = 2;
Returns | |
---|---|
Type | Description |
String |
The logType. |
getLogTypeBytes()
public ByteString getLogTypeBytes()
The name of the log type.
string log_type = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for logType. |
hasAssetNamespace()
public boolean hasAssetNamespace()
The asset namespace configured in the forwarder of the customer's events.
string asset_namespace = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the assetNamespace field is set. |
hasDataAccessLabel()
public boolean hasDataAccessLabel()
The name of the data access label.
string data_access_label = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the dataAccessLabel field is set. |
hasIngestionLabel()
public boolean hasIngestionLabel()
The ingestion label configured in the forwarder of the customer's events.
.google.cloud.chronicle.v1.IngestionLabel ingestion_label = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the ingestionLabel field is set. |
hasLogType()
public boolean hasLogType()
The name of the log type.
string log_type = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the logType field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(DataAccessLabelReference other)
public DataAccessLabelReference.Builder mergeFrom(DataAccessLabelReference other)
Parameter | |
---|---|
Name | Description |
other |
DataAccessLabelReference |
Returns | |
---|---|
Type | Description |
DataAccessLabelReference.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataAccessLabelReference.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DataAccessLabelReference.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DataAccessLabelReference.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
DataAccessLabelReference.Builder |
mergeIngestionLabel(IngestionLabel value)
public DataAccessLabelReference.Builder mergeIngestionLabel(IngestionLabel value)
The ingestion label configured in the forwarder of the customer's events.
.google.cloud.chronicle.v1.IngestionLabel ingestion_label = 4;
Parameter | |
---|---|
Name | Description |
value |
IngestionLabel |
Returns | |
---|---|
Type | Description |
DataAccessLabelReference.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataAccessLabelReference.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DataAccessLabelReference.Builder |
setAssetNamespace(String value)
public DataAccessLabelReference.Builder setAssetNamespace(String value)
The asset namespace configured in the forwarder of the customer's events.
string asset_namespace = 3;
Parameter | |
---|---|
Name | Description |
value |
String The assetNamespace to set. |
Returns | |
---|---|
Type | Description |
DataAccessLabelReference.Builder |
This builder for chaining. |
setAssetNamespaceBytes(ByteString value)
public DataAccessLabelReference.Builder setAssetNamespaceBytes(ByteString value)
The asset namespace configured in the forwarder of the customer's events.
string asset_namespace = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for assetNamespace to set. |
Returns | |
---|---|
Type | Description |
DataAccessLabelReference.Builder |
This builder for chaining. |
setDataAccessLabel(String value)
public DataAccessLabelReference.Builder setDataAccessLabel(String value)
The name of the data access label.
string data_access_label = 1;
Parameter | |
---|---|
Name | Description |
value |
String The dataAccessLabel to set. |
Returns | |
---|---|
Type | Description |
DataAccessLabelReference.Builder |
This builder for chaining. |
setDataAccessLabelBytes(ByteString value)
public DataAccessLabelReference.Builder setDataAccessLabelBytes(ByteString value)
The name of the data access label.
string data_access_label = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for dataAccessLabel to set. |
Returns | |
---|---|
Type | Description |
DataAccessLabelReference.Builder |
This builder for chaining. |
setDisplayName(String value)
public DataAccessLabelReference.Builder setDisplayName(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
DataAccessLabelReference.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public DataAccessLabelReference.Builder setDisplayNameBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
DataAccessLabelReference.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DataAccessLabelReference.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DataAccessLabelReference.Builder |
setIngestionLabel(IngestionLabel value)
public DataAccessLabelReference.Builder setIngestionLabel(IngestionLabel value)
The ingestion label configured in the forwarder of the customer's events.
.google.cloud.chronicle.v1.IngestionLabel ingestion_label = 4;
Parameter | |
---|---|
Name | Description |
value |
IngestionLabel |
Returns | |
---|---|
Type | Description |
DataAccessLabelReference.Builder |
setIngestionLabel(IngestionLabel.Builder builderForValue)
public DataAccessLabelReference.Builder setIngestionLabel(IngestionLabel.Builder builderForValue)
The ingestion label configured in the forwarder of the customer's events.
.google.cloud.chronicle.v1.IngestionLabel ingestion_label = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
IngestionLabel.Builder |
Returns | |
---|---|
Type | Description |
DataAccessLabelReference.Builder |
setLogType(String value)
public DataAccessLabelReference.Builder setLogType(String value)
The name of the log type.
string log_type = 2;
Parameter | |
---|---|
Name | Description |
value |
String The logType to set. |
Returns | |
---|---|
Type | Description |
DataAccessLabelReference.Builder |
This builder for chaining. |
setLogTypeBytes(ByteString value)
public DataAccessLabelReference.Builder setLogTypeBytes(ByteString value)
The name of the log type.
string log_type = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for logType to set. |
Returns | |
---|---|
Type | Description |
DataAccessLabelReference.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataAccessLabelReference.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
DataAccessLabelReference.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DataAccessLabelReference.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DataAccessLabelReference.Builder |