Class ServiceConnectionMap.ProducerPscConfig.Builder (0.16.0)

public static final class ServiceConnectionMap.ProducerPscConfig.Builder extends GeneratedMessageV3.Builder<ServiceConnectionMap.ProducerPscConfig.Builder> implements ServiceConnectionMap.ProducerPscConfigOrBuilder

The PSC configurations on producer side.

Protobuf type google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ProducerPscConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ServiceConnectionMap.ProducerPscConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ServiceConnectionMap.ProducerPscConfig.Builder
Overrides

build()

public ServiceConnectionMap.ProducerPscConfig build()
Returns
Type Description
ServiceConnectionMap.ProducerPscConfig

buildPartial()

public ServiceConnectionMap.ProducerPscConfig buildPartial()
Returns
Type Description
ServiceConnectionMap.ProducerPscConfig

clear()

public ServiceConnectionMap.ProducerPscConfig.Builder clear()
Returns
Type Description
ServiceConnectionMap.ProducerPscConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ServiceConnectionMap.ProducerPscConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ServiceConnectionMap.ProducerPscConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ServiceConnectionMap.ProducerPscConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ServiceConnectionMap.ProducerPscConfig.Builder
Overrides

clearServiceAttachmentUri()

public ServiceConnectionMap.ProducerPscConfig.Builder clearServiceAttachmentUri()

The resource path of a service attachment. Example: projects/{projectNumOrId}/regions/{region}/serviceAttachments/{resourceId}.

string service_attachment_uri = 1;

Returns
Type Description
ServiceConnectionMap.ProducerPscConfig.Builder

This builder for chaining.

clone()

public ServiceConnectionMap.ProducerPscConfig.Builder clone()
Returns
Type Description
ServiceConnectionMap.ProducerPscConfig.Builder
Overrides

getDefaultInstanceForType()

public ServiceConnectionMap.ProducerPscConfig getDefaultInstanceForType()
Returns
Type Description
ServiceConnectionMap.ProducerPscConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getServiceAttachmentUri()

public String getServiceAttachmentUri()

The resource path of a service attachment. Example: projects/{projectNumOrId}/regions/{region}/serviceAttachments/{resourceId}.

string service_attachment_uri = 1;

Returns
Type Description
String

The serviceAttachmentUri.

getServiceAttachmentUriBytes()

public ByteString getServiceAttachmentUriBytes()

The resource path of a service attachment. Example: projects/{projectNumOrId}/regions/{region}/serviceAttachments/{resourceId}.

string service_attachment_uri = 1;

Returns
Type Description
ByteString

The bytes for serviceAttachmentUri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ServiceConnectionMap.ProducerPscConfig other)

public ServiceConnectionMap.ProducerPscConfig.Builder mergeFrom(ServiceConnectionMap.ProducerPscConfig other)
Parameter
Name Description
other ServiceConnectionMap.ProducerPscConfig
Returns
Type Description
ServiceConnectionMap.ProducerPscConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ServiceConnectionMap.ProducerPscConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ServiceConnectionMap.ProducerPscConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ServiceConnectionMap.ProducerPscConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ServiceConnectionMap.ProducerPscConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ServiceConnectionMap.ProducerPscConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ServiceConnectionMap.ProducerPscConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ServiceConnectionMap.ProducerPscConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ServiceConnectionMap.ProducerPscConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ServiceConnectionMap.ProducerPscConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ServiceConnectionMap.ProducerPscConfig.Builder
Overrides

setServiceAttachmentUri(String value)

public ServiceConnectionMap.ProducerPscConfig.Builder setServiceAttachmentUri(String value)

The resource path of a service attachment. Example: projects/{projectNumOrId}/regions/{region}/serviceAttachments/{resourceId}.

string service_attachment_uri = 1;

Parameter
Name Description
value String

The serviceAttachmentUri to set.

Returns
Type Description
ServiceConnectionMap.ProducerPscConfig.Builder

This builder for chaining.

setServiceAttachmentUriBytes(ByteString value)

public ServiceConnectionMap.ProducerPscConfig.Builder setServiceAttachmentUriBytes(ByteString value)

The resource path of a service attachment. Example: projects/{projectNumOrId}/regions/{region}/serviceAttachments/{resourceId}.

string service_attachment_uri = 1;

Parameter
Name Description
value ByteString

The bytes for serviceAttachmentUri to set.

Returns
Type Description
ServiceConnectionMap.ProducerPscConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ServiceConnectionMap.ProducerPscConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ServiceConnectionMap.ProducerPscConfig.Builder
Overrides