Class Destination.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Destination.Builder>
com.google.cloud.networkconnectivity.v1beta.Destination.Builder
All Implemented Interfaces:
DestinationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Destination

public static final class Destination.Builder extends com.google.protobuf.GeneratedMessage.Builder<Destination.Builder> implements DestinationOrBuilder
 The `Destination` resource. It specifies the IP prefix and the associated
 autonomous system numbers (ASN) that you want to include in a
 `MulticloudDataTransferConfig` resource.
 
Protobuf type google.cloud.networkconnectivity.v1beta.Destination
  • 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.Builder<Destination.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Destination.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Destination.Builder>
    • clear

      public Destination.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Destination.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Destination.Builder>
    • getDefaultInstanceForType

      public Destination getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Destination build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Destination buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Destination.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Destination.Builder>
    • mergeFrom

      public Destination.Builder mergeFrom(Destination other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Destination.Builder>
    • mergeFrom

      public Destination.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Destination.Builder>
      Throws:
      IOException
    • getName

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

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

      public Destination.Builder setName(String value)
       Identifier. The name of the `Destination` resource.
       Format:
       `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}/destinations/{destination}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Destination.Builder clearName()
       Identifier. The name of the `Destination` resource.
       Format:
       `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}/destinations/{destination}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Destination.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. The name of the `Destination` resource.
       Format:
       `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}/destinations/{destination}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

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

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

      public Destination.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. Time when the `Destination` resource was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Destination.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Time when the `Destination` resource was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public Destination.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Time when the `Destination` resource was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public Destination.Builder clearCreateTime()
       Output only. Time when the `Destination` resource was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. Time when the `Destination` resource was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

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

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

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

      public Destination.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Time when the `Destination` resource was updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public Destination.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Time when the `Destination` resource was updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public Destination.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Time when the `Destination` resource was updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public Destination.Builder clearUpdateTime()
       Output only. Time when the `Destination` resource was updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. Time when the `Destination` resource was updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

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

      public int getLabelsCount()
      Description copied from interface: DestinationOrBuilder
       Optional. User-defined labels.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface DestinationOrBuilder
    • 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 DestinationOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface DestinationOrBuilder
    • 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 DestinationOrBuilder
    • 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 DestinationOrBuilder
    • 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 DestinationOrBuilder
    • clearLabels

      public Destination.Builder clearLabels()
    • removeLabels

      public Destination.Builder removeLabels(String key)
       Optional. User-defined labels.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public Destination.Builder putLabels(String key, String value)
       Optional. User-defined labels.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • putAllLabels

      public Destination.Builder putAllLabels(Map<String,String> values)
       Optional. User-defined labels.
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • 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 DestinationOrBuilder
      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 DestinationOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

      public Destination.Builder setEtag(String value)
       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;
      Parameters:
      value - The etag to set.
      Returns:
      This builder for chaining.
    • clearEtag

      public Destination.Builder clearEtag()
       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;
      Returns:
      This builder for chaining.
    • setEtagBytes

      public Destination.Builder setEtagBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for etag to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Optional. A description of this resource.
       
      string description = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface DestinationOrBuilder
      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 DestinationOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public Destination.Builder setDescription(String value)
       Optional. A description of this resource.
       
      string description = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public Destination.Builder clearDescription()
       Optional. A description of this resource.
       
      string description = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public Destination.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Optional. A description of this resource.
       
      string description = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getIpPrefix

      public String getIpPrefix()
       Required. Immutable. The IP prefix that represents your workload on another
       CSP.
       
      string ip_prefix = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getIpPrefix in interface DestinationOrBuilder
      Returns:
      The ipPrefix.
    • getIpPrefixBytes

      public com.google.protobuf.ByteString getIpPrefixBytes()
       Required. Immutable. The IP prefix that represents your workload on another
       CSP.
       
      string ip_prefix = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getIpPrefixBytes in interface DestinationOrBuilder
      Returns:
      The bytes for ipPrefix.
    • setIpPrefix

      public Destination.Builder setIpPrefix(String value)
       Required. Immutable. The IP prefix that represents your workload on another
       CSP.
       
      string ip_prefix = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The ipPrefix to set.
      Returns:
      This builder for chaining.
    • clearIpPrefix

      public Destination.Builder clearIpPrefix()
       Required. Immutable. The IP prefix that represents your workload on another
       CSP.
       
      string ip_prefix = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • setIpPrefixBytes

      public Destination.Builder setIpPrefixBytes(com.google.protobuf.ByteString value)
       Required. Immutable. The IP prefix that represents your workload on another
       CSP.
       
      string ip_prefix = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The bytes for ipPrefix to set.
      Returns:
      This builder for chaining.
    • getEndpointsList

      public List<Destination.DestinationEndpoint> getEndpointsList()
       Required. Unordered list. The list of `DestinationEndpoint` resources
       configured for the IP prefix.
       
      repeated .google.cloud.networkconnectivity.v1beta.Destination.DestinationEndpoint endpoints = 8 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEndpointsList in interface DestinationOrBuilder
    • getEndpointsCount

      public int getEndpointsCount()
       Required. Unordered list. The list of `DestinationEndpoint` resources
       configured for the IP prefix.
       
      repeated .google.cloud.networkconnectivity.v1beta.Destination.DestinationEndpoint endpoints = 8 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEndpointsCount in interface DestinationOrBuilder
    • getEndpoints

      public Destination.DestinationEndpoint getEndpoints(int index)
       Required. Unordered list. The list of `DestinationEndpoint` resources
       configured for the IP prefix.
       
      repeated .google.cloud.networkconnectivity.v1beta.Destination.DestinationEndpoint endpoints = 8 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEndpoints in interface DestinationOrBuilder
    • setEndpoints

      public Destination.Builder setEndpoints(int index, Destination.DestinationEndpoint value)
       Required. Unordered list. The list of `DestinationEndpoint` resources
       configured for the IP prefix.
       
      repeated .google.cloud.networkconnectivity.v1beta.Destination.DestinationEndpoint endpoints = 8 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = REQUIRED];
    • setEndpoints

      public Destination.Builder setEndpoints(int index, Destination.DestinationEndpoint.Builder builderForValue)
       Required. Unordered list. The list of `DestinationEndpoint` resources
       configured for the IP prefix.
       
      repeated .google.cloud.networkconnectivity.v1beta.Destination.DestinationEndpoint endpoints = 8 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = REQUIRED];
    • addEndpoints

       Required. Unordered list. The list of `DestinationEndpoint` resources
       configured for the IP prefix.
       
      repeated .google.cloud.networkconnectivity.v1beta.Destination.DestinationEndpoint endpoints = 8 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = REQUIRED];
    • addEndpoints

      public Destination.Builder addEndpoints(int index, Destination.DestinationEndpoint value)
       Required. Unordered list. The list of `DestinationEndpoint` resources
       configured for the IP prefix.
       
      repeated .google.cloud.networkconnectivity.v1beta.Destination.DestinationEndpoint endpoints = 8 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = REQUIRED];
    • addEndpoints

      public Destination.Builder addEndpoints(Destination.DestinationEndpoint.Builder builderForValue)
       Required. Unordered list. The list of `DestinationEndpoint` resources
       configured for the IP prefix.
       
      repeated .google.cloud.networkconnectivity.v1beta.Destination.DestinationEndpoint endpoints = 8 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = REQUIRED];
    • addEndpoints

      public Destination.Builder addEndpoints(int index, Destination.DestinationEndpoint.Builder builderForValue)
       Required. Unordered list. The list of `DestinationEndpoint` resources
       configured for the IP prefix.
       
      repeated .google.cloud.networkconnectivity.v1beta.Destination.DestinationEndpoint endpoints = 8 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = REQUIRED];
    • addAllEndpoints

      public Destination.Builder addAllEndpoints(Iterable<? extends Destination.DestinationEndpoint> values)
       Required. Unordered list. The list of `DestinationEndpoint` resources
       configured for the IP prefix.
       
      repeated .google.cloud.networkconnectivity.v1beta.Destination.DestinationEndpoint endpoints = 8 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = REQUIRED];
    • clearEndpoints

      public Destination.Builder clearEndpoints()
       Required. Unordered list. The list of `DestinationEndpoint` resources
       configured for the IP prefix.
       
      repeated .google.cloud.networkconnectivity.v1beta.Destination.DestinationEndpoint endpoints = 8 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = REQUIRED];
    • removeEndpoints

      public Destination.Builder removeEndpoints(int index)
       Required. Unordered list. The list of `DestinationEndpoint` resources
       configured for the IP prefix.
       
      repeated .google.cloud.networkconnectivity.v1beta.Destination.DestinationEndpoint endpoints = 8 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = REQUIRED];
    • getEndpointsBuilder

      public Destination.DestinationEndpoint.Builder getEndpointsBuilder(int index)
       Required. Unordered list. The list of `DestinationEndpoint` resources
       configured for the IP prefix.
       
      repeated .google.cloud.networkconnectivity.v1beta.Destination.DestinationEndpoint endpoints = 8 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = REQUIRED];
    • getEndpointsOrBuilder

      public Destination.DestinationEndpointOrBuilder getEndpointsOrBuilder(int index)
       Required. Unordered list. The list of `DestinationEndpoint` resources
       configured for the IP prefix.
       
      repeated .google.cloud.networkconnectivity.v1beta.Destination.DestinationEndpoint endpoints = 8 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEndpointsOrBuilder in interface DestinationOrBuilder
    • getEndpointsOrBuilderList

      public List<? extends Destination.DestinationEndpointOrBuilder> getEndpointsOrBuilderList()
       Required. Unordered list. The list of `DestinationEndpoint` resources
       configured for the IP prefix.
       
      repeated .google.cloud.networkconnectivity.v1beta.Destination.DestinationEndpoint endpoints = 8 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEndpointsOrBuilderList in interface DestinationOrBuilder
    • addEndpointsBuilder

      public Destination.DestinationEndpoint.Builder addEndpointsBuilder()
       Required. Unordered list. The list of `DestinationEndpoint` resources
       configured for the IP prefix.
       
      repeated .google.cloud.networkconnectivity.v1beta.Destination.DestinationEndpoint endpoints = 8 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = REQUIRED];
    • addEndpointsBuilder

      public Destination.DestinationEndpoint.Builder addEndpointsBuilder(int index)
       Required. Unordered list. The list of `DestinationEndpoint` resources
       configured for the IP prefix.
       
      repeated .google.cloud.networkconnectivity.v1beta.Destination.DestinationEndpoint endpoints = 8 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = REQUIRED];
    • getEndpointsBuilderList

      public List<Destination.DestinationEndpoint.Builder> getEndpointsBuilderList()
       Required. Unordered list. The list of `DestinationEndpoint` resources
       configured for the IP prefix.
       
      repeated .google.cloud.networkconnectivity.v1beta.Destination.DestinationEndpoint endpoints = 8 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = REQUIRED];
    • hasStateTimeline

      public boolean hasStateTimeline()
       Output only. The timeline of the expected `Destination` states or the
       current rest state. If a state change is expected, the value is `ADDING`,
       `DELETING` or `SUSPENDING`, depending on the action specified.
      
       Example:
       "state_timeline": {
       "states": [
       {
       // The time when the `Destination` resource will be activated.
       "effectiveTime": "2024-12-01T08:00:00Z",
       "state": "ADDING"
       },
       {
       // The time when the `Destination` resource will be suspended.
       "effectiveTime": "2024-12-01T20:00:00Z",
       "state": "SUSPENDING"
       }
       ]
       }
       
      .google.cloud.networkconnectivity.v1beta.StateTimeline state_timeline = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasStateTimeline in interface DestinationOrBuilder
      Returns:
      Whether the stateTimeline field is set.
    • getStateTimeline

      public StateTimeline getStateTimeline()
       Output only. The timeline of the expected `Destination` states or the
       current rest state. If a state change is expected, the value is `ADDING`,
       `DELETING` or `SUSPENDING`, depending on the action specified.
      
       Example:
       "state_timeline": {
       "states": [
       {
       // The time when the `Destination` resource will be activated.
       "effectiveTime": "2024-12-01T08:00:00Z",
       "state": "ADDING"
       },
       {
       // The time when the `Destination` resource will be suspended.
       "effectiveTime": "2024-12-01T20:00:00Z",
       "state": "SUSPENDING"
       }
       ]
       }
       
      .google.cloud.networkconnectivity.v1beta.StateTimeline state_timeline = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateTimeline in interface DestinationOrBuilder
      Returns:
      The stateTimeline.
    • setStateTimeline

      public Destination.Builder setStateTimeline(StateTimeline value)
       Output only. The timeline of the expected `Destination` states or the
       current rest state. If a state change is expected, the value is `ADDING`,
       `DELETING` or `SUSPENDING`, depending on the action specified.
      
       Example:
       "state_timeline": {
       "states": [
       {
       // The time when the `Destination` resource will be activated.
       "effectiveTime": "2024-12-01T08:00:00Z",
       "state": "ADDING"
       },
       {
       // The time when the `Destination` resource will be suspended.
       "effectiveTime": "2024-12-01T20:00:00Z",
       "state": "SUSPENDING"
       }
       ]
       }
       
      .google.cloud.networkconnectivity.v1beta.StateTimeline state_timeline = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setStateTimeline

      public Destination.Builder setStateTimeline(StateTimeline.Builder builderForValue)
       Output only. The timeline of the expected `Destination` states or the
       current rest state. If a state change is expected, the value is `ADDING`,
       `DELETING` or `SUSPENDING`, depending on the action specified.
      
       Example:
       "state_timeline": {
       "states": [
       {
       // The time when the `Destination` resource will be activated.
       "effectiveTime": "2024-12-01T08:00:00Z",
       "state": "ADDING"
       },
       {
       // The time when the `Destination` resource will be suspended.
       "effectiveTime": "2024-12-01T20:00:00Z",
       "state": "SUSPENDING"
       }
       ]
       }
       
      .google.cloud.networkconnectivity.v1beta.StateTimeline state_timeline = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeStateTimeline

      public Destination.Builder mergeStateTimeline(StateTimeline value)
       Output only. The timeline of the expected `Destination` states or the
       current rest state. If a state change is expected, the value is `ADDING`,
       `DELETING` or `SUSPENDING`, depending on the action specified.
      
       Example:
       "state_timeline": {
       "states": [
       {
       // The time when the `Destination` resource will be activated.
       "effectiveTime": "2024-12-01T08:00:00Z",
       "state": "ADDING"
       },
       {
       // The time when the `Destination` resource will be suspended.
       "effectiveTime": "2024-12-01T20:00:00Z",
       "state": "SUSPENDING"
       }
       ]
       }
       
      .google.cloud.networkconnectivity.v1beta.StateTimeline state_timeline = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearStateTimeline

      public Destination.Builder clearStateTimeline()
       Output only. The timeline of the expected `Destination` states or the
       current rest state. If a state change is expected, the value is `ADDING`,
       `DELETING` or `SUSPENDING`, depending on the action specified.
      
       Example:
       "state_timeline": {
       "states": [
       {
       // The time when the `Destination` resource will be activated.
       "effectiveTime": "2024-12-01T08:00:00Z",
       "state": "ADDING"
       },
       {
       // The time when the `Destination` resource will be suspended.
       "effectiveTime": "2024-12-01T20:00:00Z",
       "state": "SUSPENDING"
       }
       ]
       }
       
      .google.cloud.networkconnectivity.v1beta.StateTimeline state_timeline = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStateTimelineBuilder

      public StateTimeline.Builder getStateTimelineBuilder()
       Output only. The timeline of the expected `Destination` states or the
       current rest state. If a state change is expected, the value is `ADDING`,
       `DELETING` or `SUSPENDING`, depending on the action specified.
      
       Example:
       "state_timeline": {
       "states": [
       {
       // The time when the `Destination` resource will be activated.
       "effectiveTime": "2024-12-01T08:00:00Z",
       "state": "ADDING"
       },
       {
       // The time when the `Destination` resource will be suspended.
       "effectiveTime": "2024-12-01T20:00:00Z",
       "state": "SUSPENDING"
       }
       ]
       }
       
      .google.cloud.networkconnectivity.v1beta.StateTimeline state_timeline = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStateTimelineOrBuilder

      public StateTimelineOrBuilder getStateTimelineOrBuilder()
       Output only. The timeline of the expected `Destination` states or the
       current rest state. If a state change is expected, the value is `ADDING`,
       `DELETING` or `SUSPENDING`, depending on the action specified.
      
       Example:
       "state_timeline": {
       "states": [
       {
       // The time when the `Destination` resource will be activated.
       "effectiveTime": "2024-12-01T08:00:00Z",
       "state": "ADDING"
       },
       {
       // The time when the `Destination` resource will be suspended.
       "effectiveTime": "2024-12-01T20:00:00Z",
       "state": "SUSPENDING"
       }
       ]
       }
       
      .google.cloud.networkconnectivity.v1beta.StateTimeline state_timeline = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateTimelineOrBuilder in interface DestinationOrBuilder
    • getUid

      public String getUid()
       Output only. The Google-generated unique ID for the `Destination` resource.
       This value is unique across all `Destination` 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 DestinationOrBuilder
      Returns:
      The uid.
    • getUidBytes

      public com.google.protobuf.ByteString getUidBytes()
       Output only. The Google-generated unique ID for the `Destination` resource.
       This value is unique across all `Destination` 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 DestinationOrBuilder
      Returns:
      The bytes for uid.
    • setUid

      public Destination.Builder setUid(String value)
       Output only. The Google-generated unique ID for the `Destination` resource.
       This value is unique across all `Destination` 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) = { ... }
      Parameters:
      value - The uid to set.
      Returns:
      This builder for chaining.
    • clearUid

      public Destination.Builder clearUid()
       Output only. The Google-generated unique ID for the `Destination` resource.
       This value is unique across all `Destination` 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) = { ... }
      Returns:
      This builder for chaining.
    • setUidBytes

      public Destination.Builder setUidBytes(com.google.protobuf.ByteString value)
       Output only. The Google-generated unique ID for the `Destination` resource.
       This value is unique across all `Destination` 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) = { ... }
      Parameters:
      value - The bytes for uid to set.
      Returns:
      This builder for chaining.