Package com.google.cloud.compute.v1
Class ServiceAttachmentsScopedList.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentsScopedList.Builder>
-
- com.google.cloud.compute.v1.ServiceAttachmentsScopedList.Builder
-
- All Implemented Interfaces:
ServiceAttachmentsScopedListOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ServiceAttachmentsScopedList
public static final class ServiceAttachmentsScopedList.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentsScopedList.Builder> implements ServiceAttachmentsScopedListOrBuilder
google.cloud.compute.v1.ServiceAttachmentsScopedList
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceAttachmentsScopedList.Builder
addAllServiceAttachments(Iterable<? extends ServiceAttachment> values)
A list of ServiceAttachments contained in this scope.ServiceAttachmentsScopedList.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ServiceAttachmentsScopedList.Builder
addServiceAttachments(int index, ServiceAttachment value)
A list of ServiceAttachments contained in this scope.ServiceAttachmentsScopedList.Builder
addServiceAttachments(int index, ServiceAttachment.Builder builderForValue)
A list of ServiceAttachments contained in this scope.ServiceAttachmentsScopedList.Builder
addServiceAttachments(ServiceAttachment value)
A list of ServiceAttachments contained in this scope.ServiceAttachmentsScopedList.Builder
addServiceAttachments(ServiceAttachment.Builder builderForValue)
A list of ServiceAttachments contained in this scope.ServiceAttachment.Builder
addServiceAttachmentsBuilder()
A list of ServiceAttachments contained in this scope.ServiceAttachment.Builder
addServiceAttachmentsBuilder(int index)
A list of ServiceAttachments contained in this scope.ServiceAttachmentsScopedList
build()
ServiceAttachmentsScopedList
buildPartial()
ServiceAttachmentsScopedList.Builder
clear()
ServiceAttachmentsScopedList.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ServiceAttachmentsScopedList.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ServiceAttachmentsScopedList.Builder
clearServiceAttachments()
A list of ServiceAttachments contained in this scope.ServiceAttachmentsScopedList.Builder
clearWarning()
Informational warning which replaces the list of service attachments when the list is empty.ServiceAttachmentsScopedList.Builder
clone()
ServiceAttachmentsScopedList
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
ServiceAttachment
getServiceAttachments(int index)
A list of ServiceAttachments contained in this scope.ServiceAttachment.Builder
getServiceAttachmentsBuilder(int index)
A list of ServiceAttachments contained in this scope.List<ServiceAttachment.Builder>
getServiceAttachmentsBuilderList()
A list of ServiceAttachments contained in this scope.int
getServiceAttachmentsCount()
A list of ServiceAttachments contained in this scope.List<ServiceAttachment>
getServiceAttachmentsList()
A list of ServiceAttachments contained in this scope.ServiceAttachmentOrBuilder
getServiceAttachmentsOrBuilder(int index)
A list of ServiceAttachments contained in this scope.List<? extends ServiceAttachmentOrBuilder>
getServiceAttachmentsOrBuilderList()
A list of ServiceAttachments contained in this scope.Warning
getWarning()
Informational warning which replaces the list of service attachments when the list is empty.Warning.Builder
getWarningBuilder()
Informational warning which replaces the list of service attachments when the list is empty.WarningOrBuilder
getWarningOrBuilder()
Informational warning which replaces the list of service attachments when the list is empty.boolean
hasWarning()
Informational warning which replaces the list of service attachments when the list is empty.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ServiceAttachmentsScopedList.Builder
mergeFrom(ServiceAttachmentsScopedList other)
ServiceAttachmentsScopedList.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ServiceAttachmentsScopedList.Builder
mergeFrom(com.google.protobuf.Message other)
ServiceAttachmentsScopedList.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ServiceAttachmentsScopedList.Builder
mergeWarning(Warning value)
Informational warning which replaces the list of service attachments when the list is empty.ServiceAttachmentsScopedList.Builder
removeServiceAttachments(int index)
A list of ServiceAttachments contained in this scope.ServiceAttachmentsScopedList.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ServiceAttachmentsScopedList.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ServiceAttachmentsScopedList.Builder
setServiceAttachments(int index, ServiceAttachment value)
A list of ServiceAttachments contained in this scope.ServiceAttachmentsScopedList.Builder
setServiceAttachments(int index, ServiceAttachment.Builder builderForValue)
A list of ServiceAttachments contained in this scope.ServiceAttachmentsScopedList.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ServiceAttachmentsScopedList.Builder
setWarning(Warning value)
Informational warning which replaces the list of service attachments when the list is empty.ServiceAttachmentsScopedList.Builder
setWarning(Warning.Builder builderForValue)
Informational warning which replaces the list of service attachments when the list is empty.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentsScopedList.Builder>
-
clear
public ServiceAttachmentsScopedList.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentsScopedList.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentsScopedList.Builder>
-
getDefaultInstanceForType
public ServiceAttachmentsScopedList getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ServiceAttachmentsScopedList build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ServiceAttachmentsScopedList buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ServiceAttachmentsScopedList.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentsScopedList.Builder>
-
setField
public ServiceAttachmentsScopedList.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentsScopedList.Builder>
-
clearField
public ServiceAttachmentsScopedList.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentsScopedList.Builder>
-
clearOneof
public ServiceAttachmentsScopedList.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentsScopedList.Builder>
-
setRepeatedField
public ServiceAttachmentsScopedList.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentsScopedList.Builder>
-
addRepeatedField
public ServiceAttachmentsScopedList.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentsScopedList.Builder>
-
mergeFrom
public ServiceAttachmentsScopedList.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ServiceAttachmentsScopedList.Builder>
-
mergeFrom
public ServiceAttachmentsScopedList.Builder mergeFrom(ServiceAttachmentsScopedList other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentsScopedList.Builder>
-
mergeFrom
public ServiceAttachmentsScopedList.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ServiceAttachmentsScopedList.Builder>
- Throws:
IOException
-
getServiceAttachmentsList
public List<ServiceAttachment> getServiceAttachmentsList()
A list of ServiceAttachments contained in this scope.
repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
- Specified by:
getServiceAttachmentsList
in interfaceServiceAttachmentsScopedListOrBuilder
-
getServiceAttachmentsCount
public int getServiceAttachmentsCount()
A list of ServiceAttachments contained in this scope.
repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
- Specified by:
getServiceAttachmentsCount
in interfaceServiceAttachmentsScopedListOrBuilder
-
getServiceAttachments
public ServiceAttachment getServiceAttachments(int index)
A list of ServiceAttachments contained in this scope.
repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
- Specified by:
getServiceAttachments
in interfaceServiceAttachmentsScopedListOrBuilder
-
setServiceAttachments
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
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;
-
addServiceAttachments
public ServiceAttachmentsScopedList.Builder addServiceAttachments(ServiceAttachment value)
A list of ServiceAttachments contained in this scope.
repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
-
addServiceAttachments
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
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
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;
-
addAllServiceAttachments
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;
-
clearServiceAttachments
public ServiceAttachmentsScopedList.Builder clearServiceAttachments()
A list of ServiceAttachments contained in this scope.
repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
-
removeServiceAttachments
public ServiceAttachmentsScopedList.Builder removeServiceAttachments(int index)
A list of ServiceAttachments contained in this scope.
repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
-
getServiceAttachmentsBuilder
public ServiceAttachment.Builder getServiceAttachmentsBuilder(int index)
A list of ServiceAttachments contained in this scope.
repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
-
getServiceAttachmentsOrBuilder
public ServiceAttachmentOrBuilder getServiceAttachmentsOrBuilder(int index)
A list of ServiceAttachments contained in this scope.
repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
- Specified by:
getServiceAttachmentsOrBuilder
in interfaceServiceAttachmentsScopedListOrBuilder
-
getServiceAttachmentsOrBuilderList
public List<? extends ServiceAttachmentOrBuilder> getServiceAttachmentsOrBuilderList()
A list of ServiceAttachments contained in this scope.
repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
- Specified by:
getServiceAttachmentsOrBuilderList
in interfaceServiceAttachmentsScopedListOrBuilder
-
addServiceAttachmentsBuilder
public ServiceAttachment.Builder addServiceAttachmentsBuilder()
A list of ServiceAttachments contained in this scope.
repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
-
addServiceAttachmentsBuilder
public ServiceAttachment.Builder addServiceAttachmentsBuilder(int index)
A list of ServiceAttachments contained in this scope.
repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
-
getServiceAttachmentsBuilderList
public List<ServiceAttachment.Builder> getServiceAttachmentsBuilderList()
A list of ServiceAttachments contained in this scope.
repeated .google.cloud.compute.v1.ServiceAttachment service_attachments = 307136806;
-
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;
- Specified by:
hasWarning
in interfaceServiceAttachmentsScopedListOrBuilder
- Returns:
- Whether the warning field is set.
-
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;
- Specified by:
getWarning
in interfaceServiceAttachmentsScopedListOrBuilder
- Returns:
- The warning.
-
setWarning
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;
-
setWarning
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;
-
mergeWarning
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;
-
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;
-
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;
- Specified by:
getWarningOrBuilder
in interfaceServiceAttachmentsScopedListOrBuilder
-
setUnknownFields
public final ServiceAttachmentsScopedList.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentsScopedList.Builder>
-
mergeUnknownFields
public final ServiceAttachmentsScopedList.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentsScopedList.Builder>
-
-