Class MulticloudDataTransferConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.networkconnectivity.v1beta.MulticloudDataTransferConfig
All Implemented Interfaces:
MulticloudDataTransferConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class MulticloudDataTransferConfig extends com.google.protobuf.GeneratedMessage implements MulticloudDataTransferConfigOrBuilder
 The `MulticloudDataTransferConfig` resource. It lists the services that you
 configure for Data Transfer Essentials billing and metering.
 
Protobuf type google.cloud.networkconnectivity.v1beta.MulticloudDataTransferConfig
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • UPDATE_TIME_FIELD_NUMBER

      public static final int UPDATE_TIME_FIELD_NUMBER
      See Also:
    • LABELS_FIELD_NUMBER

      public static final int LABELS_FIELD_NUMBER
      See Also:
    • ETAG_FIELD_NUMBER

      public static final int ETAG_FIELD_NUMBER
      See Also:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      See Also:
    • DESTINATIONS_COUNT_FIELD_NUMBER

      public static final int DESTINATIONS_COUNT_FIELD_NUMBER
      See Also:
    • DESTINATIONS_ACTIVE_COUNT_FIELD_NUMBER

      public static final int DESTINATIONS_ACTIVE_COUNT_FIELD_NUMBER
      See Also:
    • SERVICES_FIELD_NUMBER

      public static final int SERVICES_FIELD_NUMBER
      See Also:
    • UID_FIELD_NUMBER

      public static final int UID_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

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

      public String getName()
       Identifier. The name of the `MulticloudDataTransferConfig` resource.
       Format:
       `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface MulticloudDataTransferConfigOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The name of the `MulticloudDataTransferConfig` resource.
       Format:
       `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface MulticloudDataTransferConfigOrBuilder
      Returns:
      The bytes for name.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. Time when the `MulticloudDataTransferConfig` resource was
       created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface MulticloudDataTransferConfigOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. Time when the `MulticloudDataTransferConfig` resource was
       created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface MulticloudDataTransferConfigOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Time when the `MulticloudDataTransferConfig` resource was
       created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface MulticloudDataTransferConfigOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. Time when the `MulticloudDataTransferConfig` resource was
       updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface MulticloudDataTransferConfigOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. Time when the `MulticloudDataTransferConfig` resource was
       updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface MulticloudDataTransferConfigOrBuilder
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Time when the `MulticloudDataTransferConfig` resource was
       updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface MulticloudDataTransferConfigOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: MulticloudDataTransferConfigOrBuilder
       Optional. User-defined labels.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface MulticloudDataTransferConfigOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. User-defined labels.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface MulticloudDataTransferConfigOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface MulticloudDataTransferConfigOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Optional. User-defined labels.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface MulticloudDataTransferConfigOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. User-defined labels.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface MulticloudDataTransferConfigOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. User-defined labels.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface MulticloudDataTransferConfigOrBuilder
    • getEtag

      public String getEtag()
       The etag is computed by the server, and might be sent with update and
       delete requests so that the client has an up-to-date value before
       proceeding.
       
      string etag = 5;
      Specified by:
      getEtag in interface MulticloudDataTransferConfigOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public com.google.protobuf.ByteString getEtagBytes()
       The etag is computed by the server, and might be sent with update and
       delete requests so that the client has an up-to-date value before
       proceeding.
       
      string etag = 5;
      Specified by:
      getEtagBytes in interface MulticloudDataTransferConfigOrBuilder
      Returns:
      The bytes for etag.
    • getDescription

      public String getDescription()
       Optional. A description of this resource.
       
      string description = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface MulticloudDataTransferConfigOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. A description of this resource.
       
      string description = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface MulticloudDataTransferConfigOrBuilder
      Returns:
      The bytes for description.
    • getDestinationsCount

      public int getDestinationsCount()
       Output only. The number of `Destination` resources configured for the
       `MulticloudDataTransferConfig` resource.
       
      int32 destinations_count = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDestinationsCount in interface MulticloudDataTransferConfigOrBuilder
      Returns:
      The destinationsCount.
    • getDestinationsActiveCount

      public int getDestinationsActiveCount()
       Output only. The number of `Destination` resources in use with the
       `MulticloudDataTransferConfig` resource.
       
      int32 destinations_active_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDestinationsActiveCount in interface MulticloudDataTransferConfigOrBuilder
      Returns:
      The destinationsActiveCount.
    • getServicesCount

      public int getServicesCount()
      Description copied from interface: MulticloudDataTransferConfigOrBuilder
       Optional. Maps services to their current or planned states. Service names
       are keys, and the associated values describe the state of the service. If a
       state change is expected, the value is either `ADDING` or `DELETING`,
       depending on the actions taken.
      
       Sample output:
       "services": {
       "big-query": {
       "states": [
       {
       "effectiveTime": "2024-12-12T08:00:00Z"
       "state": "ADDING",
       },
       ]
       },
       "cloud-storage": {
       "states": [
       {
       "state": "ACTIVE",
       }
       ]
       }
       }
       
      map<string, .google.cloud.networkconnectivity.v1beta.StateTimeline> services = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getServicesCount in interface MulticloudDataTransferConfigOrBuilder
    • containsServices

      public boolean containsServices(String key)
       Optional. Maps services to their current or planned states. Service names
       are keys, and the associated values describe the state of the service. If a
       state change is expected, the value is either `ADDING` or `DELETING`,
       depending on the actions taken.
      
       Sample output:
       "services": {
       "big-query": {
       "states": [
       {
       "effectiveTime": "2024-12-12T08:00:00Z"
       "state": "ADDING",
       },
       ]
       },
       "cloud-storage": {
       "states": [
       {
       "state": "ACTIVE",
       }
       ]
       }
       }
       
      map<string, .google.cloud.networkconnectivity.v1beta.StateTimeline> services = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsServices in interface MulticloudDataTransferConfigOrBuilder
    • getServices

      @Deprecated public Map<String,StateTimeline> getServices()
      Deprecated.
      Use getServicesMap() instead.
      Specified by:
      getServices in interface MulticloudDataTransferConfigOrBuilder
    • getServicesMap

      public Map<String,StateTimeline> getServicesMap()
       Optional. Maps services to their current or planned states. Service names
       are keys, and the associated values describe the state of the service. If a
       state change is expected, the value is either `ADDING` or `DELETING`,
       depending on the actions taken.
      
       Sample output:
       "services": {
       "big-query": {
       "states": [
       {
       "effectiveTime": "2024-12-12T08:00:00Z"
       "state": "ADDING",
       },
       ]
       },
       "cloud-storage": {
       "states": [
       {
       "state": "ACTIVE",
       }
       ]
       }
       }
       
      map<string, .google.cloud.networkconnectivity.v1beta.StateTimeline> services = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getServicesMap in interface MulticloudDataTransferConfigOrBuilder
    • getServicesOrDefault

      public StateTimeline getServicesOrDefault(String key, StateTimeline defaultValue)
       Optional. Maps services to their current or planned states. Service names
       are keys, and the associated values describe the state of the service. If a
       state change is expected, the value is either `ADDING` or `DELETING`,
       depending on the actions taken.
      
       Sample output:
       "services": {
       "big-query": {
       "states": [
       {
       "effectiveTime": "2024-12-12T08:00:00Z"
       "state": "ADDING",
       },
       ]
       },
       "cloud-storage": {
       "states": [
       {
       "state": "ACTIVE",
       }
       ]
       }
       }
       
      map<string, .google.cloud.networkconnectivity.v1beta.StateTimeline> services = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getServicesOrDefault in interface MulticloudDataTransferConfigOrBuilder
    • getServicesOrThrow

      public StateTimeline getServicesOrThrow(String key)
       Optional. Maps services to their current or planned states. Service names
       are keys, and the associated values describe the state of the service. If a
       state change is expected, the value is either `ADDING` or `DELETING`,
       depending on the actions taken.
      
       Sample output:
       "services": {
       "big-query": {
       "states": [
       {
       "effectiveTime": "2024-12-12T08:00:00Z"
       "state": "ADDING",
       },
       ]
       },
       "cloud-storage": {
       "states": [
       {
       "state": "ACTIVE",
       }
       ]
       }
       }
       
      map<string, .google.cloud.networkconnectivity.v1beta.StateTimeline> services = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getServicesOrThrow in interface MulticloudDataTransferConfigOrBuilder
    • getUid

      public String getUid()
       Output only. The Google-generated unique ID for the
       `MulticloudDataTransferConfig` resource. This value is unique across all
       `MulticloudDataTransferConfig` resources. If a resource is deleted and
       another with the same name is created, the new resource is assigned a
       different and unique ID.
       
      string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Specified by:
      getUid in interface MulticloudDataTransferConfigOrBuilder
      Returns:
      The uid.
    • getUidBytes

      public com.google.protobuf.ByteString getUidBytes()
       Output only. The Google-generated unique ID for the
       `MulticloudDataTransferConfig` resource. This value is unique across all
       `MulticloudDataTransferConfig` resources. If a resource is deleted and
       another with the same name is created, the new resource is assigned a
       different and unique ID.
       
      string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Specified by:
      getUidBytes in interface MulticloudDataTransferConfigOrBuilder
      Returns:
      The bytes for uid.
    • 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 MulticloudDataTransferConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static MulticloudDataTransferConfig.Builder newBuilder()
    • newBuilder

    • toBuilder

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

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

      public static MulticloudDataTransferConfig getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<MulticloudDataTransferConfig> 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 MulticloudDataTransferConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder