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
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ServiceAttachmentsScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
addServiceAttachmentsBuilder()
public ServiceAttachment.Builder addServiceAttachmentsBuilder()
A list of ServiceAttachments contained in this scope.
repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
Returns
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
Returns
build()
public ServiceAttachmentsScopedList build()
Returns
buildPartial()
public ServiceAttachmentsScopedList buildPartial()
Returns
clear()
public ServiceAttachmentsScopedList.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ServiceAttachmentsScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ServiceAttachmentsScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearServiceAttachments()
public ServiceAttachmentsScopedList.Builder clearServiceAttachments()
A list of ServiceAttachments contained in this scope.
repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
Returns
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
clone()
public ServiceAttachmentsScopedList.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ServiceAttachmentsScopedList getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
getServiceAttachmentsBuilderList()
public List<ServiceAttachment.Builder> getServiceAttachmentsBuilderList()
A list of ServiceAttachments contained in this scope.
repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
Returns
getServiceAttachmentsCount()
public int getServiceAttachmentsCount()
A list of ServiceAttachments contained in this scope.
repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
Returns
getServiceAttachmentsList()
public List<ServiceAttachment> getServiceAttachmentsList()
A list of ServiceAttachments contained in this scope.
repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
Returns
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
Returns
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ServiceAttachmentsScopedList other)
public ServiceAttachmentsScopedList.Builder mergeFrom(ServiceAttachmentsScopedList other)
Parameter
Returns
public ServiceAttachmentsScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ServiceAttachmentsScopedList.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ServiceAttachmentsScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ServiceAttachmentsScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ServiceAttachmentsScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ServiceAttachmentsScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns