Class DataAccessLabelReference

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.chronicle.v1.DataAccessLabelReference
All Implemented Interfaces:
DataAccessLabelReferenceOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class DataAccessLabelReference extends com.google.protobuf.GeneratedMessage implements DataAccessLabelReferenceOrBuilder
 Reference object to a data access label.
 
Protobuf type google.cloud.chronicle.v1.DataAccessLabelReference
See Also:
  • Field Details

    • DATA_ACCESS_LABEL_FIELD_NUMBER

      public static final int DATA_ACCESS_LABEL_FIELD_NUMBER
      See Also:
    • LOG_TYPE_FIELD_NUMBER

      public static final int LOG_TYPE_FIELD_NUMBER
      See Also:
    • ASSET_NAMESPACE_FIELD_NUMBER

      public static final int ASSET_NAMESPACE_FIELD_NUMBER
      See Also:
    • INGESTION_LABEL_FIELD_NUMBER

      public static final int INGESTION_LABEL_FIELD_NUMBER
      See Also:
    • DISPLAY_NAME_FIELD_NUMBER

      public static final int DISPLAY_NAME_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getLabelCase

      public DataAccessLabelReference.LabelCase getLabelCase()
      Specified by:
      getLabelCase in interface DataAccessLabelReferenceOrBuilder
    • hasDataAccessLabel

      public boolean hasDataAccessLabel()
       The name of the data access label.
       
      string data_access_label = 1;
      Specified by:
      hasDataAccessLabel in interface DataAccessLabelReferenceOrBuilder
      Returns:
      Whether the dataAccessLabel field is set.
    • getDataAccessLabel

      public String getDataAccessLabel()
       The name of the data access label.
       
      string data_access_label = 1;
      Specified by:
      getDataAccessLabel in interface DataAccessLabelReferenceOrBuilder
      Returns:
      The dataAccessLabel.
    • getDataAccessLabelBytes

      public com.google.protobuf.ByteString getDataAccessLabelBytes()
       The name of the data access label.
       
      string data_access_label = 1;
      Specified by:
      getDataAccessLabelBytes in interface DataAccessLabelReferenceOrBuilder
      Returns:
      The bytes for dataAccessLabel.
    • hasLogType

      public boolean hasLogType()
       The name of the log type.
       
      string log_type = 2;
      Specified by:
      hasLogType in interface DataAccessLabelReferenceOrBuilder
      Returns:
      Whether the logType field is set.
    • getLogType

      public String getLogType()
       The name of the log type.
       
      string log_type = 2;
      Specified by:
      getLogType in interface DataAccessLabelReferenceOrBuilder
      Returns:
      The logType.
    • getLogTypeBytes

      public com.google.protobuf.ByteString getLogTypeBytes()
       The name of the log type.
       
      string log_type = 2;
      Specified by:
      getLogTypeBytes in interface DataAccessLabelReferenceOrBuilder
      Returns:
      The bytes for logType.
    • hasAssetNamespace

      public boolean hasAssetNamespace()
       The asset namespace configured in the forwarder
       of the customer's events.
       
      string asset_namespace = 3;
      Specified by:
      hasAssetNamespace in interface DataAccessLabelReferenceOrBuilder
      Returns:
      Whether the assetNamespace field is set.
    • getAssetNamespace

      public String getAssetNamespace()
       The asset namespace configured in the forwarder
       of the customer's events.
       
      string asset_namespace = 3;
      Specified by:
      getAssetNamespace in interface DataAccessLabelReferenceOrBuilder
      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:
      getAssetNamespaceBytes in interface DataAccessLabelReferenceOrBuilder
      Returns:
      The bytes for assetNamespace.
    • 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:
      hasIngestionLabel in interface DataAccessLabelReferenceOrBuilder
      Returns:
      Whether the ingestionLabel field is set.
    • getIngestionLabel

      public IngestionLabel getIngestionLabel()
       The ingestion label configured in the forwarder of the customer's events.
       
      .google.cloud.chronicle.v1.IngestionLabel ingestion_label = 4;
      Specified by:
      getIngestionLabel in interface DataAccessLabelReferenceOrBuilder
      Returns:
      The ingestionLabel.
    • getIngestionLabelOrBuilder

      public IngestionLabelOrBuilder getIngestionLabelOrBuilder()
       The ingestion label configured in the forwarder of the customer's events.
       
      .google.cloud.chronicle.v1.IngestionLabel ingestion_label = 4;
      Specified by:
      getIngestionLabelOrBuilder in interface DataAccessLabelReferenceOrBuilder
    • 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];
      Specified by:
      getDisplayName in interface DataAccessLabelReferenceOrBuilder
      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:
      getDisplayNameBytes in interface DataAccessLabelReferenceOrBuilder
      Returns:
      The bytes for displayName.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static DataAccessLabelReference parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataAccessLabelReference parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataAccessLabelReference parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataAccessLabelReference parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataAccessLabelReference parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataAccessLabelReference parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DataAccessLabelReference parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataAccessLabelReference parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DataAccessLabelReference parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DataAccessLabelReference parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataAccessLabelReference parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DataAccessLabelReference parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public DataAccessLabelReference.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static DataAccessLabelReference.Builder newBuilder()
    • newBuilder

      public static DataAccessLabelReference.Builder newBuilder(DataAccessLabelReference prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DataAccessLabelReference.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DataAccessLabelReference getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DataAccessLabelReference> parser()
    • getParserForType

      public com.google.protobuf.Parser<DataAccessLabelReference> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public DataAccessLabelReference getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder