Class ServiceConnectionMap.ProducerPscConfig.Builder (0.14.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ServiceConnectionMap.ProducerPscConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ServiceConnectionMap.ProducerPscConfig.Builder
Overrides

build()

public ServiceConnectionMap.ProducerPscConfig build()
Returns
TypeDescription
ServiceConnectionMap.ProducerPscConfig

buildPartial()

public ServiceConnectionMap.ProducerPscConfig buildPartial()
Returns
TypeDescription
ServiceConnectionMap.ProducerPscConfig

clear()

public ServiceConnectionMap.ProducerPscConfig.Builder clear()
Returns
TypeDescription
ServiceConnectionMap.ProducerPscConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ServiceConnectionMap.ProducerPscConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ServiceConnectionMap.ProducerPscConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ServiceConnectionMap.ProducerPscConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ServiceConnectionMap.ProducerPscConfig.Builder

This builder for chaining.

clone()

public ServiceConnectionMap.ProducerPscConfig.Builder clone()
Returns
TypeDescription
ServiceConnectionMap.ProducerPscConfig.Builder
Overrides

getDefaultInstanceForType()

public ServiceConnectionMap.ProducerPscConfig getDefaultInstanceForType()
Returns
TypeDescription
ServiceConnectionMap.ProducerPscConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for serviceAttachmentUri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ServiceConnectionMap.ProducerPscConfig other)

public ServiceConnectionMap.ProducerPscConfig.Builder mergeFrom(ServiceConnectionMap.ProducerPscConfig other)
Parameter
NameDescription
otherServiceConnectionMap.ProducerPscConfig
Returns
TypeDescription
ServiceConnectionMap.ProducerPscConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ServiceConnectionMap.ProducerPscConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceConnectionMap.ProducerPscConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ServiceConnectionMap.ProducerPscConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ServiceConnectionMap.ProducerPscConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ServiceConnectionMap.ProducerPscConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ServiceConnectionMap.ProducerPscConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ServiceConnectionMap.ProducerPscConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The serviceAttachmentUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for serviceAttachmentUri to set.

Returns
TypeDescription
ServiceConnectionMap.ProducerPscConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ServiceConnectionMap.ProducerPscConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ServiceConnectionMap.ProducerPscConfig.Builder
Overrides