- 1.77.0 (latest)
- 1.75.0
- 1.74.0
- 1.73.0
- 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 ServiceConnectionToken.Builder extends GeneratedMessageV3.Builder<ServiceConnectionToken.Builder> implements ServiceConnectionTokenOrBuilderThe ServiceConnectionToken resource.
 Protobuf type google.cloud.networkconnectivity.v1.ServiceConnectionToken
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ServiceConnectionToken.BuilderImplements
ServiceConnectionTokenOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ServiceConnectionToken.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | |
build()
public ServiceConnectionToken build()| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken | |
buildPartial()
public ServiceConnectionToken buildPartial()| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken | |
clear()
public ServiceConnectionToken.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | |
clearCreateTime()
public ServiceConnectionToken.Builder clearCreateTime()Output only. Time when the ServiceConnectionToken was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | |
clearDescription()
public ServiceConnectionToken.Builder clearDescription()A description of this resource.
 string description = 5;
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | This builder for chaining. | 
clearEtag()
public ServiceConnectionToken.Builder clearEtag()Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
 optional string etag = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | This builder for chaining. | 
clearExpireTime()
public ServiceConnectionToken.Builder clearExpireTime()Output only. The time to which this token is valid.
 
 .google.protobuf.Timestamp expire_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | |
clearField(Descriptors.FieldDescriptor field)
public ServiceConnectionToken.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | |
clearLabels()
public ServiceConnectionToken.Builder clearLabels()| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | |
clearName()
public ServiceConnectionToken.Builder clearName()Immutable. The name of a ServiceConnectionToken. Format: projects/{project}/locations/{location}/ServiceConnectionTokens/{service_connection_token} See: https://google.aip.dev/122#fields-representing-resource-names
 string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | This builder for chaining. | 
clearNetwork()
public ServiceConnectionToken.Builder clearNetwork()The resource path of the network associated with this token. Example: projects/{projectNumOrId}/global/networks/{resourceId}.
 string network = 6 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public ServiceConnectionToken.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | |
clearToken()
public ServiceConnectionToken.Builder clearToken()Output only. The token generated by Automation.
 string token = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | This builder for chaining. | 
clearUpdateTime()
public ServiceConnectionToken.Builder clearUpdateTime()Output only. Time when the ServiceConnectionToken was updated.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | |
clone()
public ServiceConnectionToken.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | |
containsLabels(String key)
public boolean containsLabels(String key)User-defined labels.
 map<string, string> labels = 4;
| Parameter | |
|---|---|
| Name | Description | 
| key | String | 
| Returns | |
|---|---|
| Type | Description | 
| boolean | |
getCreateTime()
public Timestamp getCreateTime()Output only. Time when the ServiceConnectionToken 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 ServiceConnectionToken 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 ServiceConnectionToken was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| TimestampOrBuilder | |
getDefaultInstanceForType()
public ServiceConnectionToken getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken | |
getDescription()
public String getDescription()A description of this resource.
 string description = 5;
| Returns | |
|---|---|
| Type | Description | 
| String | The description. | 
getDescriptionBytes()
public ByteString getDescriptionBytes()A description of this resource.
 string description = 5;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for description. | 
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getEtag()
public String getEtag()Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
 optional string etag = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| String | The etag. | 
getEtagBytes()
public ByteString getEtagBytes()Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
 optional string etag = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for etag. | 
getExpireTime()
public Timestamp getExpireTime()Output only. The time to which this token is valid.
 
 .google.protobuf.Timestamp expire_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Timestamp | The expireTime. | 
getExpireTimeBuilder()
public Timestamp.Builder getExpireTimeBuilder()Output only. The time to which this token is valid.
 
 .google.protobuf.Timestamp expire_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Builder | |
getExpireTimeOrBuilder()
public TimestampOrBuilder getExpireTimeOrBuilder()Output only. The time to which this token is valid.
 
 .google.protobuf.Timestamp expire_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| TimestampOrBuilder | |
getLabels() (deprecated)
public Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description | 
| Map<String,String> | |
getLabelsCount()
public int getLabelsCount()User-defined labels.
 map<string, string> labels = 4;
| Returns | |
|---|---|
| Type | Description | 
| int | |
getLabelsMap()
public Map<String,String> getLabelsMap()User-defined labels.
 map<string, string> labels = 4;
| Returns | |
|---|---|
| Type | Description | 
| Map<String,String> | |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)User-defined labels.
 map<string, string> labels = 4;
| Parameters | |
|---|---|
| Name | Description | 
| key | String | 
| defaultValue | String | 
| Returns | |
|---|---|
| Type | Description | 
| String | |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)User-defined labels.
 map<string, string> labels = 4;
| 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> | |
getName()
public String getName()Immutable. The name of a ServiceConnectionToken. Format: projects/{project}/locations/{location}/ServiceConnectionTokens/{service_connection_token} See: https://google.aip.dev/122#fields-representing-resource-names
 string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description | 
| String | The name. | 
getNameBytes()
public ByteString getNameBytes()Immutable. The name of a ServiceConnectionToken. Format: projects/{project}/locations/{location}/ServiceConnectionTokens/{service_connection_token} See: https://google.aip.dev/122#fields-representing-resource-names
 string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for name. | 
getNetwork()
public String getNetwork()The resource path of the network associated with this token. Example: projects/{projectNumOrId}/global/networks/{resourceId}.
 string network = 6 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description | 
| String | The network. | 
getNetworkBytes()
public ByteString getNetworkBytes()The resource path of the network associated with this token. Example: projects/{projectNumOrId}/global/networks/{resourceId}.
 string network = 6 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for network. | 
getToken()
public String getToken()Output only. The token generated by Automation.
 string token = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| String | The token. | 
getTokenBytes()
public ByteString getTokenBytes()Output only. The token generated by Automation.
 string token = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for token. | 
getUpdateTime()
public Timestamp getUpdateTime()Output only. Time when the ServiceConnectionToken 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 ServiceConnectionToken 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 ServiceConnectionToken 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 ServiceConnectionToken was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the createTime field is set. | 
hasEtag()
public boolean hasEtag()Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
 optional string etag = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the etag field is set. | 
hasExpireTime()
public boolean hasExpireTime()Output only. The time to which this token is valid.
 
 .google.protobuf.Timestamp expire_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the expireTime field is set. | 
hasUpdateTime()
public boolean hasUpdateTime()Output only. Time when the ServiceConnectionToken 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 ServiceConnectionToken.Builder mergeCreateTime(Timestamp value)Output only. Time when the ServiceConnectionToken was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | |
mergeExpireTime(Timestamp value)
public ServiceConnectionToken.Builder mergeExpireTime(Timestamp value)Output only. The time to which this token is valid.
 
 .google.protobuf.Timestamp expire_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | |
mergeFrom(ServiceConnectionToken other)
public ServiceConnectionToken.Builder mergeFrom(ServiceConnectionToken other)| Parameter | |
|---|---|
| Name | Description | 
| other | ServiceConnectionToken | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ServiceConnectionToken.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public ServiceConnectionToken.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ServiceConnectionToken.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | |
mergeUpdateTime(Timestamp value)
public ServiceConnectionToken.Builder mergeUpdateTime(Timestamp value)Output only. Time when the ServiceConnectionToken was updated.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | |
putAllLabels(Map<String,String> values)
public ServiceConnectionToken.Builder putAllLabels(Map<String,String> values)User-defined labels.
 map<string, string> labels = 4;
| Parameter | |
|---|---|
| Name | Description | 
| values | Map<String,String> | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | |
putLabels(String key, String value)
public ServiceConnectionToken.Builder putLabels(String key, String value)User-defined labels.
 map<string, string> labels = 4;
| Parameters | |
|---|---|
| Name | Description | 
| key | String | 
| value | String | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | |
removeLabels(String key)
public ServiceConnectionToken.Builder removeLabels(String key)User-defined labels.
 map<string, string> labels = 4;
| Parameter | |
|---|---|
| Name | Description | 
| key | String | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | |
setCreateTime(Timestamp value)
public ServiceConnectionToken.Builder setCreateTime(Timestamp value)Output only. Time when the ServiceConnectionToken was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | |
setCreateTime(Timestamp.Builder builderForValue)
public ServiceConnectionToken.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. Time when the ServiceConnectionToken was created.
 
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Builder | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | |
setDescription(String value)
public ServiceConnectionToken.Builder setDescription(String value)A description of this resource.
 string description = 5;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe description to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | This builder for chaining. | 
setDescriptionBytes(ByteString value)
public ServiceConnectionToken.Builder setDescriptionBytes(ByteString value)A description of this resource.
 string description = 5;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for description to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | This builder for chaining. | 
setEtag(String value)
public ServiceConnectionToken.Builder setEtag(String value)Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
 optional string etag = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe etag to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | This builder for chaining. | 
setEtagBytes(ByteString value)
public ServiceConnectionToken.Builder setEtagBytes(ByteString value)Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
 optional string etag = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for etag to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | This builder for chaining. | 
setExpireTime(Timestamp value)
public ServiceConnectionToken.Builder setExpireTime(Timestamp value)Output only. The time to which this token is valid.
 
 .google.protobuf.Timestamp expire_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | |
setExpireTime(Timestamp.Builder builderForValue)
public ServiceConnectionToken.Builder setExpireTime(Timestamp.Builder builderForValue)Output only. The time to which this token is valid.
 
 .google.protobuf.Timestamp expire_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Builder | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | |
setField(Descriptors.FieldDescriptor field, Object value)
public ServiceConnectionToken.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | |
setName(String value)
public ServiceConnectionToken.Builder setName(String value)Immutable. The name of a ServiceConnectionToken. Format: projects/{project}/locations/{location}/ServiceConnectionTokens/{service_connection_token} See: https://google.aip.dev/122#fields-representing-resource-names
 string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | This builder for chaining. | 
setNameBytes(ByteString value)
public ServiceConnectionToken.Builder setNameBytes(ByteString value)Immutable. The name of a ServiceConnectionToken. Format: projects/{project}/locations/{location}/ServiceConnectionTokens/{service_connection_token} See: https://google.aip.dev/122#fields-representing-resource-names
 string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | This builder for chaining. | 
setNetwork(String value)
public ServiceConnectionToken.Builder setNetwork(String value)The resource path of the network associated with this token. Example: projects/{projectNumOrId}/global/networks/{resourceId}.
 string network = 6 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe network to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | This builder for chaining. | 
setNetworkBytes(ByteString value)
public ServiceConnectionToken.Builder setNetworkBytes(ByteString value)The resource path of the network associated with this token. Example: projects/{projectNumOrId}/global/networks/{resourceId}.
 string network = 6 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for network to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ServiceConnectionToken.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | |
setToken(String value)
public ServiceConnectionToken.Builder setToken(String value)Output only. The token generated by Automation.
 string token = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe token to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | This builder for chaining. | 
setTokenBytes(ByteString value)
public ServiceConnectionToken.Builder setTokenBytes(ByteString value)Output only. The token generated by Automation.
 string token = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for token to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | This builder for chaining. | 
setUnknownFields(UnknownFieldSet unknownFields)
public final ServiceConnectionToken.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | |
setUpdateTime(Timestamp value)
public ServiceConnectionToken.Builder setUpdateTime(Timestamp value)Output only. Time when the ServiceConnectionToken was updated.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | |
setUpdateTime(Timestamp.Builder builderForValue)
public ServiceConnectionToken.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. Time when the ServiceConnectionToken was updated.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Builder | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceConnectionToken.Builder | |