Class ServiceAttachmentsScopedList (1.13.0)

public final class ServiceAttachmentsScopedList extends GeneratedMessageV3 implements ServiceAttachmentsScopedListOrBuilder

Protobuf type google.cloud.compute.v1.ServiceAttachmentsScopedList

Static Fields

SERVICE_ATTACHMENTS_FIELD_NUMBER

public static final int SERVICE_ATTACHMENTS_FIELD_NUMBER
Field Value
TypeDescription
int

WARNING_FIELD_NUMBER

public static final int WARNING_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ServiceAttachmentsScopedList getDefaultInstance()
Returns
TypeDescription
ServiceAttachmentsScopedList

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ServiceAttachmentsScopedList.Builder newBuilder()
Returns
TypeDescription
ServiceAttachmentsScopedList.Builder

newBuilder(ServiceAttachmentsScopedList prototype)

public static ServiceAttachmentsScopedList.Builder newBuilder(ServiceAttachmentsScopedList prototype)
Parameter
NameDescription
prototypeServiceAttachmentsScopedList
Returns
TypeDescription
ServiceAttachmentsScopedList.Builder

parseDelimitedFrom(InputStream input)

public static ServiceAttachmentsScopedList parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ServiceAttachmentsScopedList
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ServiceAttachmentsScopedList parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceAttachmentsScopedList
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ServiceAttachmentsScopedList parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ServiceAttachmentsScopedList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ServiceAttachmentsScopedList parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceAttachmentsScopedList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ServiceAttachmentsScopedList parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ServiceAttachmentsScopedList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ServiceAttachmentsScopedList parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceAttachmentsScopedList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ServiceAttachmentsScopedList parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ServiceAttachmentsScopedList
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ServiceAttachmentsScopedList parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceAttachmentsScopedList
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ServiceAttachmentsScopedList parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ServiceAttachmentsScopedList
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ServiceAttachmentsScopedList parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceAttachmentsScopedList
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ServiceAttachmentsScopedList parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ServiceAttachmentsScopedList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ServiceAttachmentsScopedList parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceAttachmentsScopedList
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ServiceAttachmentsScopedList> parser()
Returns
TypeDescription
Parser<ServiceAttachmentsScopedList>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ServiceAttachmentsScopedList getDefaultInstanceForType()
Returns
TypeDescription
ServiceAttachmentsScopedList

getParserForType()

public Parser<ServiceAttachmentsScopedList> getParserForType()
Returns
TypeDescription
Parser<ServiceAttachmentsScopedList>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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

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>

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ServiceAttachmentsScopedList.Builder newBuilderForType()
Returns
TypeDescription
ServiceAttachmentsScopedList.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ServiceAttachmentsScopedList.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ServiceAttachmentsScopedList.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ServiceAttachmentsScopedList.Builder toBuilder()
Returns
TypeDescription
ServiceAttachmentsScopedList.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException