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 Summary
Modifier and TypeMethodDescriptionaddAllEndpoints(Iterable<? extends Destination.DestinationEndpoint> values) Required.addEndpoints(int index, Destination.DestinationEndpoint value) Required.addEndpoints(int index, Destination.DestinationEndpoint.Builder builderForValue) Required.Required.addEndpoints(Destination.DestinationEndpoint.Builder builderForValue) Required.Required.addEndpointsBuilder(int index) Required.build()clear()Output only.Optional.Required.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.Required.Identifier.Output only.clearUid()Output only.Output only.booleancontainsLabels(String key) Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEndpoints(int index) Required.getEndpointsBuilder(int index) Required.Required.intRequired.Required.getEndpointsOrBuilder(int index) Required.List<? extends Destination.DestinationEndpointOrBuilder>Required.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.com.google.protobuf.ByteStringThe 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.Required.com.google.protobuf.ByteStringRequired.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.Deprecated.getName()Identifier.com.google.protobuf.ByteStringIdentifier.Output only.Output only.Output only.getUid()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(Destination other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStateTimeline(StateTimeline value) Output only.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllLabels(Map<String, String> values) Optional.Optional.removeEndpoints(int index) Required.removeLabels(String key) Optional.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDescription(String value) Optional.setDescriptionBytes(com.google.protobuf.ByteString value) Optional.setEndpoints(int index, Destination.DestinationEndpoint value) Required.setEndpoints(int index, Destination.DestinationEndpoint.Builder builderForValue) Required.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.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.setIpPrefix(String value) Required.setIpPrefixBytes(com.google.protobuf.ByteString value) Required.Identifier.setNameBytes(com.google.protobuf.ByteString value) Identifier.setStateTimeline(StateTimeline value) Output only.setStateTimeline(StateTimeline.Builder builderForValue) Output only.Output only.setUidBytes(com.google.protobuf.ByteString value) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Destination.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Destination.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Destination.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Destination.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Destination.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Destination.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Destination.Builder>- Throws:
IOException
-
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:
getNamein interfaceDestinationOrBuilder- 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:
getNameBytesin interfaceDestinationOrBuilder- Returns:
- The bytes for name.
-
setName
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
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
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:
hasCreateTimein interfaceDestinationOrBuilder- 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:
getCreateTimein interfaceDestinationOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. Time when the `Destination` resource was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. Time when the `Destination` resource was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. Time when the `Destination` resource was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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:
getCreateTimeOrBuilderin interfaceDestinationOrBuilder
-
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:
hasUpdateTimein interfaceDestinationOrBuilder- 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:
getUpdateTimein interfaceDestinationOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. Time when the `Destination` resource was updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. Time when the `Destination` resource was updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. Time when the `Destination` resource was updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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:
getUpdateTimeOrBuilderin interfaceDestinationOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:DestinationOrBuilderOptional. User-defined labels.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfaceDestinationOrBuilder
-
containsLabels
Optional. User-defined labels.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceDestinationOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceDestinationOrBuilder
-
getLabelsMap
Optional. User-defined labels.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfaceDestinationOrBuilder
-
getLabelsOrDefault
Optional. User-defined labels.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin interfaceDestinationOrBuilder
-
getLabelsOrThrow
Optional. User-defined labels.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceDestinationOrBuilder
-
clearLabels
-
removeLabels
Optional. User-defined labels.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Optional. User-defined labels.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
putAllLabels
Optional. User-defined labels.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
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:
getEtagin interfaceDestinationOrBuilder- 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:
getEtagBytesin interfaceDestinationOrBuilder- Returns:
- The bytes for etag.
-
setEtag
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
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
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
Optional. A description of this resource.
string description = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfaceDestinationOrBuilder- 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:
getDescriptionBytesin interfaceDestinationOrBuilder- Returns:
- The bytes for description.
-
setDescription
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
Optional. A description of this resource.
string description = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDescriptionBytes
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
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:
getIpPrefixin interfaceDestinationOrBuilder- 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:
getIpPrefixBytesin interfaceDestinationOrBuilder- Returns:
- The bytes for ipPrefix.
-
setIpPrefix
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
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
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
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:
getEndpointsListin interfaceDestinationOrBuilder
-
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:
getEndpointsCountin interfaceDestinationOrBuilder
-
getEndpoints
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:
getEndpointsin interfaceDestinationOrBuilder
-
setEndpoints
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
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.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
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
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
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
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:
getEndpointsOrBuilderin interfaceDestinationOrBuilder
-
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:
getEndpointsOrBuilderListin interfaceDestinationOrBuilder
-
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
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
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:
hasStateTimelinein interfaceDestinationOrBuilder- Returns:
- Whether the stateTimeline field is set.
-
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:
getStateTimelinein interfaceDestinationOrBuilder- Returns:
- The stateTimeline.
-
setStateTimeline
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
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
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
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
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
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:
getStateTimelineOrBuilderin interfaceDestinationOrBuilder
-
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:
getUidin interfaceDestinationOrBuilder- 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:
getUidBytesin interfaceDestinationOrBuilder- Returns:
- The bytes for uid.
-
setUid
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
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
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.
-