public static final class ServiceAttachmentsScopedList.Builder extends GeneratedMessage.Builder<ServiceAttachmentsScopedList.Builder> implements ServiceAttachmentsScopedListOrBuilder
Protobuf type google.cloud.compute.v1.ServiceAttachmentsScopedList
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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;
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;
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;
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;
addServiceAttachmentsBuilder()
public ServiceAttachment.Builder addServiceAttachmentsBuilder()
A list of ServiceAttachments contained in this scope.
repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
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
|
build()
public ServiceAttachmentsScopedList build()
buildPartial()
public ServiceAttachmentsScopedList buildPartial()
clear()
public ServiceAttachmentsScopedList.Builder clear()
Overrides
clearServiceAttachments()
public ServiceAttachmentsScopedList.Builder clearServiceAttachments()
A list of ServiceAttachments contained in this scope.
repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
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;
getDefaultInstanceForType()
public ServiceAttachmentsScopedList getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
getServiceAttachmentsBuilderList()
public List<ServiceAttachment.Builder> getServiceAttachmentsBuilderList()
A list of ServiceAttachments contained in this scope.
repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
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;
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
|
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;
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;
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ServiceAttachmentsScopedList other)
public ServiceAttachmentsScopedList.Builder mergeFrom(ServiceAttachmentsScopedList other)
public ServiceAttachmentsScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ServiceAttachmentsScopedList.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
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
|
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
|
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;
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;
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
|
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;