Class ServiceAttachmentsScopedList.Builder (1.59.0)

public static final class ServiceAttachmentsScopedList.Builder extends GeneratedMessageV3.Builder<ServiceAttachmentsScopedList.Builder> implements ServiceAttachmentsScopedListOrBuilder

Protobuf type google.cloud.compute.v1.ServiceAttachmentsScopedList

Static Methods

getDescriptor()

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

Methods

addAllServiceAttachments(Iterable<? extends ServiceAttachment> values)

public ServiceAttachmentsScopedList.Builder addAllServiceAttachments(Iterable<? extends ServiceAttachment> values)

A list of ServiceAttachments contained in this scope.

repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;

Parameter
Name Description
values Iterable<? extends com.google.cloud.compute.v1.ServiceAttachment>
Returns
Type Description
ServiceAttachmentsScopedList.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addServiceAttachments(ServiceAttachment value)

public ServiceAttachmentsScopedList.Builder addServiceAttachments(ServiceAttachment value)

A list of ServiceAttachments contained in this scope.

repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;

Parameter
Name Description
value ServiceAttachment
Returns
Type Description
ServiceAttachmentsScopedList.Builder

addServiceAttachments(ServiceAttachment.Builder builderForValue)

public ServiceAttachmentsScopedList.Builder addServiceAttachments(ServiceAttachment.Builder builderForValue)

A list of ServiceAttachments contained in this scope.

repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;

Parameter
Name Description
builderForValue ServiceAttachment.Builder
Returns
Type Description
ServiceAttachmentsScopedList.Builder

addServiceAttachments(int index, ServiceAttachment value)

public ServiceAttachmentsScopedList.Builder addServiceAttachments(int index, ServiceAttachment value)

A list of ServiceAttachments contained in this scope.

repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;

Parameters
Name Description
index int
value ServiceAttachment
Returns
Type Description
ServiceAttachmentsScopedList.Builder

addServiceAttachments(int index, ServiceAttachment.Builder builderForValue)

public ServiceAttachmentsScopedList.Builder addServiceAttachments(int index, ServiceAttachment.Builder builderForValue)

A list of ServiceAttachments contained in this scope.

repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;

Parameters
Name Description
index int
builderForValue ServiceAttachment.Builder
Returns
Type Description
ServiceAttachmentsScopedList.Builder

addServiceAttachmentsBuilder()

public ServiceAttachment.Builder addServiceAttachmentsBuilder()

A list of ServiceAttachments contained in this scope.

repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;

Returns
Type Description
ServiceAttachment.Builder

addServiceAttachmentsBuilder(int index)

public ServiceAttachment.Builder addServiceAttachmentsBuilder(int index)

A list of ServiceAttachments contained in this scope.

repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;

Parameter
Name Description
index int
Returns
Type Description
ServiceAttachment.Builder

build()

public ServiceAttachmentsScopedList build()
Returns
Type Description
ServiceAttachmentsScopedList

buildPartial()

public ServiceAttachmentsScopedList buildPartial()
Returns
Type Description
ServiceAttachmentsScopedList

clear()

public ServiceAttachmentsScopedList.Builder clear()
Returns
Type Description
ServiceAttachmentsScopedList.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearServiceAttachments()

public ServiceAttachmentsScopedList.Builder clearServiceAttachments()

A list of ServiceAttachments contained in this scope.

repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;

Returns
Type Description
ServiceAttachmentsScopedList.Builder

clearWarning()

public ServiceAttachmentsScopedList.Builder clearWarning()

Informational warning which replaces the list of service attachments when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
ServiceAttachmentsScopedList.Builder

clone()

public ServiceAttachmentsScopedList.Builder clone()
Returns
Type Description
ServiceAttachmentsScopedList.Builder
Overrides

getDefaultInstanceForType()

public ServiceAttachmentsScopedList getDefaultInstanceForType()
Returns
Type Description
ServiceAttachmentsScopedList

getDescriptorForType()

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

getServiceAttachments(int index)

public ServiceAttachment getServiceAttachments(int index)

A list of ServiceAttachments contained in this scope.

repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;

Parameter
Name Description
index int
Returns
Type Description
ServiceAttachment

getServiceAttachmentsBuilder(int index)

public ServiceAttachment.Builder getServiceAttachmentsBuilder(int index)

A list of ServiceAttachments contained in this scope.

repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;

Parameter
Name Description
index int
Returns
Type Description
ServiceAttachment.Builder

getServiceAttachmentsBuilderList()

public List<ServiceAttachment.Builder> getServiceAttachmentsBuilderList()

A list of ServiceAttachments contained in this scope.

repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;

Returns
Type Description
List<Builder>

getServiceAttachmentsCount()

public int getServiceAttachmentsCount()

A list of ServiceAttachments contained in this scope.

repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;

Returns
Type Description
int

getServiceAttachmentsList()

public List<ServiceAttachment> getServiceAttachmentsList()

A list of ServiceAttachments contained in this scope.

repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;

Returns
Type Description
List<ServiceAttachment>

getServiceAttachmentsOrBuilder(int index)

public ServiceAttachmentOrBuilder getServiceAttachmentsOrBuilder(int index)

A list of ServiceAttachments contained in this scope.

repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;

Parameter
Name Description
index int
Returns
Type Description
ServiceAttachmentOrBuilder

getServiceAttachmentsOrBuilderList()

public List<? extends ServiceAttachmentOrBuilder> getServiceAttachmentsOrBuilderList()

A list of ServiceAttachments contained in this scope.

repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.ServiceAttachmentOrBuilder>

getWarning()

public Warning getWarning()

Informational warning which replaces the list of service attachments when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
Warning

The warning.

getWarningBuilder()

public Warning.Builder getWarningBuilder()

Informational warning which replaces the list of service attachments when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
Warning.Builder

getWarningOrBuilder()

public WarningOrBuilder getWarningOrBuilder()

Informational warning which replaces the list of service attachments when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
WarningOrBuilder

hasWarning()

public boolean hasWarning()

Informational warning which replaces the list of service attachments when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
boolean

Whether the warning field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ServiceAttachmentsScopedList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeWarning(Warning value)

public ServiceAttachmentsScopedList.Builder mergeWarning(Warning value)

Informational warning which replaces the list of service attachments when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
value Warning
Returns
Type Description
ServiceAttachmentsScopedList.Builder

removeServiceAttachments(int index)

public ServiceAttachmentsScopedList.Builder removeServiceAttachments(int index)

A list of ServiceAttachments contained in this scope.

repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;

Parameter
Name Description
index int
Returns
Type Description
ServiceAttachmentsScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setServiceAttachments(int index, ServiceAttachment value)

public ServiceAttachmentsScopedList.Builder setServiceAttachments(int index, ServiceAttachment value)

A list of ServiceAttachments contained in this scope.

repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;

Parameters
Name Description
index int
value ServiceAttachment
Returns
Type Description
ServiceAttachmentsScopedList.Builder

setServiceAttachments(int index, ServiceAttachment.Builder builderForValue)

public ServiceAttachmentsScopedList.Builder setServiceAttachments(int index, ServiceAttachment.Builder builderForValue)

A list of ServiceAttachments contained in this scope.

repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;

Parameters
Name Description
index int
builderForValue ServiceAttachment.Builder
Returns
Type Description
ServiceAttachmentsScopedList.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setWarning(Warning value)

public ServiceAttachmentsScopedList.Builder setWarning(Warning value)

Informational warning which replaces the list of service attachments when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
value Warning
Returns
Type Description
ServiceAttachmentsScopedList.Builder

setWarning(Warning.Builder builderForValue)

public ServiceAttachmentsScopedList.Builder setWarning(Warning.Builder builderForValue)

Informational warning which replaces the list of service attachments when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
builderForValue Warning.Builder
Returns
Type Description
ServiceAttachmentsScopedList.Builder