Class ServiceAttachmentsScopedList.Builder (1.34.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.ServiceAttachment>
Returns
TypeDescription
ServiceAttachmentsScopedList.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ServiceAttachmentsScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueServiceAttachment
Returns
TypeDescription
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
NameDescription
builderForValueServiceAttachment.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueServiceAttachment
Returns
TypeDescription
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
NameDescription
indexint
builderForValueServiceAttachment.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ServiceAttachment.Builder

build()

public ServiceAttachmentsScopedList build()
Returns
TypeDescription
ServiceAttachmentsScopedList

buildPartial()

public ServiceAttachmentsScopedList buildPartial()
Returns
TypeDescription
ServiceAttachmentsScopedList

clear()

public ServiceAttachmentsScopedList.Builder clear()
Returns
TypeDescription
ServiceAttachmentsScopedList.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ServiceAttachmentsScopedList.Builder clone()
Returns
TypeDescription
ServiceAttachmentsScopedList.Builder
Overrides

getDefaultInstanceForType()

public ServiceAttachmentsScopedList getDefaultInstanceForType()
Returns
TypeDescription
ServiceAttachmentsScopedList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getServiceAttachmentsCount()

public int getServiceAttachmentsCount()

A list of ServiceAttachments contained in this scope.

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

Returns
TypeDescription
int

getServiceAttachmentsList()

public List<ServiceAttachment> getServiceAttachmentsList()

A list of ServiceAttachments contained in this scope.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the warning field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ServiceAttachmentsScopedList other)

public ServiceAttachmentsScopedList.Builder mergeFrom(ServiceAttachmentsScopedList other)
Parameter
NameDescription
otherServiceAttachmentsScopedList
Returns
TypeDescription
ServiceAttachmentsScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ServiceAttachmentsScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueWarning
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ServiceAttachmentsScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ServiceAttachmentsScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ServiceAttachmentsScopedList.Builder
Overrides

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

public ServiceAttachmentsScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueServiceAttachment
Returns
TypeDescription
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
NameDescription
indexint
builderForValueServiceAttachment.Builder
Returns
TypeDescription
ServiceAttachmentsScopedList.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ServiceAttachmentsScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueWarning
Returns
TypeDescription
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
NameDescription
builderForValueWarning.Builder
Returns
TypeDescription
ServiceAttachmentsScopedList.Builder