- 1.73.0 (latest)
- 1.72.0
- 1.71.0
- 1.69.0
- 1.67.0
- 1.66.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.9
- 1.1.1
- 1.0.0
- 0.5.0
public static final class MulticloudDataTransferConfig.Builder extends GeneratedMessageV3.Builder<MulticloudDataTransferConfig.Builder> implements MulticloudDataTransferConfigOrBuilder
The MulticloudDataTransferConfig
resource. It lists the services that you
configure for Data Transfer Essentials billing and metering.
Protobuf type google.cloud.networkconnectivity.v1.MulticloudDataTransferConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MulticloudDataTransferConfig.BuilderImplements
MulticloudDataTransferConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MulticloudDataTransferConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
build()
public MulticloudDataTransferConfig build()
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig |
buildPartial()
public MulticloudDataTransferConfig buildPartial()
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig |
clear()
public MulticloudDataTransferConfig.Builder clear()
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
clearCreateTime()
public MulticloudDataTransferConfig.Builder clearCreateTime()
Output only. Time when the MulticloudDataTransferConfig
resource was
created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
clearDescription()
public MulticloudDataTransferConfig.Builder clearDescription()
Optional. A description of this resource.
string description = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
This builder for chaining. |
clearDestinationsActiveCount()
public MulticloudDataTransferConfig.Builder clearDestinationsActiveCount()
Output only. The number of Destination
resources in use with the
MulticloudDataTransferConfig
resource.
int32 destinations_active_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
This builder for chaining. |
clearDestinationsCount()
public MulticloudDataTransferConfig.Builder clearDestinationsCount()
Output only. The number of Destination
resources configured for the
MulticloudDataTransferConfig
resource.
int32 destinations_count = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
This builder for chaining. |
clearEtag()
public MulticloudDataTransferConfig.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 | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public MulticloudDataTransferConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
clearLabels()
public MulticloudDataTransferConfig.Builder clearLabels()
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
clearName()
public MulticloudDataTransferConfig.Builder clearName()
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];
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public MulticloudDataTransferConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
clearServices()
public MulticloudDataTransferConfig.Builder clearServices()
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
clearUid()
public MulticloudDataTransferConfig.Builder clearUid()
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) = { ... }
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
This builder for chaining. |
clearUpdateTime()
public MulticloudDataTransferConfig.Builder clearUpdateTime()
Output only. Time when the MulticloudDataTransferConfig
resource was
updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
clone()
public MulticloudDataTransferConfig.Builder clone()
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Optional. User-defined labels.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
containsServices(String key)
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.v1.StateTimeline> services = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getCreateTime()
public Timestamp getCreateTime()
Output only. Time when the MulticloudDataTransferConfig
resource was
created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Time when the MulticloudDataTransferConfig
resource was
created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time when the MulticloudDataTransferConfig
resource was
created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public MulticloudDataTransferConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig |
getDescription()
public String getDescription()
Optional. A description of this resource.
string description = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. A description of this resource.
string description = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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];
Returns | |
---|---|
Type | Description |
int |
The destinationsActiveCount. |
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];
Returns | |
---|---|
Type | Description |
int |
The destinationsCount. |
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;
Returns | |
---|---|
Type | Description |
String |
The etag. |
getEtagBytes()
public 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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for etag. |
getLabels() (deprecated)
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Optional. User-defined labels.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Optional. User-defined labels.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Optional. User-defined labels.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Optional. User-defined labels.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
String |
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getMutableServices() (deprecated)
public Map<String,StateTimeline> getMutableServices()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,StateTimeline> |
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];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public 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];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getServices() (deprecated)
public Map<String,StateTimeline> getServices()
Use #getServicesMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,StateTimeline> |
getServicesCount()
public int getServicesCount()
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.v1.StateTimeline> services = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
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.v1.StateTimeline> services = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Map<String,StateTimeline> |
getServicesOrDefault(String key, StateTimeline defaultValue)
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.v1.StateTimeline> services = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
StateTimeline |
Returns | |
---|---|
Type | Description |
StateTimeline |
getServicesOrThrow(String key)
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.v1.StateTimeline> services = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
StateTimeline |
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) = { ... }
Returns | |
---|---|
Type | Description |
String |
The uid. |
getUidBytes()
public 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) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for uid. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Time when the MulticloudDataTransferConfig
resource was
updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. Time when the MulticloudDataTransferConfig
resource was
updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time when the MulticloudDataTransferConfig
resource was
updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public MulticloudDataTransferConfig.Builder mergeCreateTime(Timestamp value)
Output only. Time when the MulticloudDataTransferConfig
resource was
created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
mergeFrom(MulticloudDataTransferConfig other)
public MulticloudDataTransferConfig.Builder mergeFrom(MulticloudDataTransferConfig other)
Parameter | |
---|---|
Name | Description |
other |
MulticloudDataTransferConfig |
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MulticloudDataTransferConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MulticloudDataTransferConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MulticloudDataTransferConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
mergeUpdateTime(Timestamp value)
public MulticloudDataTransferConfig.Builder mergeUpdateTime(Timestamp value)
Output only. Time when the MulticloudDataTransferConfig
resource was
updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
putAllLabels(Map<String,String> values)
public MulticloudDataTransferConfig.Builder putAllLabels(Map<String,String> values)
Optional. User-defined labels.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Map<String,String> |
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
putAllServices(Map<String,StateTimeline> values)
public MulticloudDataTransferConfig.Builder putAllServices(Map<String,StateTimeline> values)
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.v1.StateTimeline> services = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Map<String,StateTimeline> |
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
putLabels(String key, String value)
public MulticloudDataTransferConfig.Builder putLabels(String key, String value)
Optional. User-defined labels.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
key |
String |
value |
String |
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
putServices(String key, StateTimeline value)
public MulticloudDataTransferConfig.Builder putServices(String key, StateTimeline value)
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.v1.StateTimeline> services = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
key |
String |
value |
StateTimeline |
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
putServicesBuilderIfAbsent(String key)
public StateTimeline.Builder putServicesBuilderIfAbsent(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.v1.StateTimeline> services = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
StateTimeline.Builder |
removeLabels(String key)
public MulticloudDataTransferConfig.Builder removeLabels(String key)
Optional. User-defined labels.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
removeServices(String key)
public MulticloudDataTransferConfig.Builder removeServices(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.v1.StateTimeline> services = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
setCreateTime(Timestamp value)
public MulticloudDataTransferConfig.Builder setCreateTime(Timestamp value)
Output only. Time when the MulticloudDataTransferConfig
resource was
created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public MulticloudDataTransferConfig.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Time when the MulticloudDataTransferConfig
resource was
created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
setDescription(String value)
public MulticloudDataTransferConfig.Builder setDescription(String value)
Optional. A description of this resource.
string description = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The description to set. |
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public MulticloudDataTransferConfig.Builder setDescriptionBytes(ByteString value)
Optional. A description of this resource.
string description = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
This builder for chaining. |
setDestinationsActiveCount(int value)
public MulticloudDataTransferConfig.Builder setDestinationsActiveCount(int value)
Output only. The number of Destination
resources in use with the
MulticloudDataTransferConfig
resource.
int32 destinations_active_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The destinationsActiveCount to set. |
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
This builder for chaining. |
setDestinationsCount(int value)
public MulticloudDataTransferConfig.Builder setDestinationsCount(int value)
Output only. The number of Destination
resources configured for the
MulticloudDataTransferConfig
resource.
int32 destinations_count = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The destinationsCount to set. |
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
This builder for chaining. |
setEtag(String value)
public MulticloudDataTransferConfig.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;
Parameter | |
---|---|
Name | Description |
value |
String The etag to set. |
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
This builder for chaining. |
setEtagBytes(ByteString value)
public MulticloudDataTransferConfig.Builder setEtagBytes(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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for etag to set. |
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public MulticloudDataTransferConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
setName(String value)
public MulticloudDataTransferConfig.Builder setName(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public MulticloudDataTransferConfig.Builder setNameBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MulticloudDataTransferConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
setUid(String value)
public MulticloudDataTransferConfig.Builder setUid(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The uid to set. |
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
This builder for chaining. |
setUidBytes(ByteString value)
public MulticloudDataTransferConfig.Builder setUidBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for uid to set. |
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final MulticloudDataTransferConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
setUpdateTime(Timestamp value)
public MulticloudDataTransferConfig.Builder setUpdateTime(Timestamp value)
Output only. Time when the MulticloudDataTransferConfig
resource was
updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public MulticloudDataTransferConfig.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. Time when the MulticloudDataTransferConfig
resource was
updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
MulticloudDataTransferConfig.Builder |