Class NotificationEndpointsScopedList.Builder (1.98.0)

public static final class NotificationEndpointsScopedList.Builder extends GeneratedMessage.Builder<NotificationEndpointsScopedList.Builder> implements NotificationEndpointsScopedListOrBuilder

Protobuf type google.cloud.compute.v1.NotificationEndpointsScopedList

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllResources(Iterable<? extends NotificationEndpoint> values)

public NotificationEndpointsScopedList.Builder addAllResources(Iterable<? extends NotificationEndpoint> values)

A list of NotificationEndpoints contained in this scope.

repeated .google.cloud.compute.v1.NotificationEndpoint resources = 164412965;

Parameter
Name Description
values Iterable<? extends com.google.cloud.compute.v1.NotificationEndpoint>
Returns
Type Description
NotificationEndpointsScopedList.Builder

addResources(NotificationEndpoint value)

public NotificationEndpointsScopedList.Builder addResources(NotificationEndpoint value)

A list of NotificationEndpoints contained in this scope.

repeated .google.cloud.compute.v1.NotificationEndpoint resources = 164412965;

Parameter
Name Description
value NotificationEndpoint
Returns
Type Description
NotificationEndpointsScopedList.Builder

addResources(NotificationEndpoint.Builder builderForValue)

public NotificationEndpointsScopedList.Builder addResources(NotificationEndpoint.Builder builderForValue)

A list of NotificationEndpoints contained in this scope.

repeated .google.cloud.compute.v1.NotificationEndpoint resources = 164412965;

Parameter
Name Description
builderForValue NotificationEndpoint.Builder
Returns
Type Description
NotificationEndpointsScopedList.Builder

addResources(int index, NotificationEndpoint value)

public NotificationEndpointsScopedList.Builder addResources(int index, NotificationEndpoint value)

A list of NotificationEndpoints contained in this scope.

repeated .google.cloud.compute.v1.NotificationEndpoint resources = 164412965;

Parameters
Name Description
index int
value NotificationEndpoint
Returns
Type Description
NotificationEndpointsScopedList.Builder

addResources(int index, NotificationEndpoint.Builder builderForValue)

public NotificationEndpointsScopedList.Builder addResources(int index, NotificationEndpoint.Builder builderForValue)

A list of NotificationEndpoints contained in this scope.

repeated .google.cloud.compute.v1.NotificationEndpoint resources = 164412965;

Parameters
Name Description
index int
builderForValue NotificationEndpoint.Builder
Returns
Type Description
NotificationEndpointsScopedList.Builder

addResourcesBuilder()

public NotificationEndpoint.Builder addResourcesBuilder()

A list of NotificationEndpoints contained in this scope.

repeated .google.cloud.compute.v1.NotificationEndpoint resources = 164412965;

Returns
Type Description
NotificationEndpoint.Builder

addResourcesBuilder(int index)

public NotificationEndpoint.Builder addResourcesBuilder(int index)

A list of NotificationEndpoints contained in this scope.

repeated .google.cloud.compute.v1.NotificationEndpoint resources = 164412965;

Parameter
Name Description
index int
Returns
Type Description
NotificationEndpoint.Builder

build()

public NotificationEndpointsScopedList build()
Returns
Type Description
NotificationEndpointsScopedList

buildPartial()

public NotificationEndpointsScopedList buildPartial()
Returns
Type Description
NotificationEndpointsScopedList

clear()

public NotificationEndpointsScopedList.Builder clear()
Returns
Type Description
NotificationEndpointsScopedList.Builder
Overrides

clearResources()

public NotificationEndpointsScopedList.Builder clearResources()

A list of NotificationEndpoints contained in this scope.

repeated .google.cloud.compute.v1.NotificationEndpoint resources = 164412965;

Returns
Type Description
NotificationEndpointsScopedList.Builder

clearWarning()

public NotificationEndpointsScopedList.Builder clearWarning()

Informational warning which replaces the list of notification endpoints when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
NotificationEndpointsScopedList.Builder

getDefaultInstanceForType()

public NotificationEndpointsScopedList getDefaultInstanceForType()
Returns
Type Description
NotificationEndpointsScopedList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getResources(int index)

public NotificationEndpoint getResources(int index)

A list of NotificationEndpoints contained in this scope.

repeated .google.cloud.compute.v1.NotificationEndpoint resources = 164412965;

Parameter
Name Description
index int
Returns
Type Description
NotificationEndpoint

getResourcesBuilder(int index)

public NotificationEndpoint.Builder getResourcesBuilder(int index)

A list of NotificationEndpoints contained in this scope.

repeated .google.cloud.compute.v1.NotificationEndpoint resources = 164412965;

Parameter
Name Description
index int
Returns
Type Description
NotificationEndpoint.Builder

getResourcesBuilderList()

public List<NotificationEndpoint.Builder> getResourcesBuilderList()

A list of NotificationEndpoints contained in this scope.

repeated .google.cloud.compute.v1.NotificationEndpoint resources = 164412965;

Returns
Type Description
List<Builder>

getResourcesCount()

public int getResourcesCount()

A list of NotificationEndpoints contained in this scope.

repeated .google.cloud.compute.v1.NotificationEndpoint resources = 164412965;

Returns
Type Description
int

getResourcesList()

public List<NotificationEndpoint> getResourcesList()

A list of NotificationEndpoints contained in this scope.

repeated .google.cloud.compute.v1.NotificationEndpoint resources = 164412965;

Returns
Type Description
List<NotificationEndpoint>

getResourcesOrBuilder(int index)

public NotificationEndpointOrBuilder getResourcesOrBuilder(int index)

A list of NotificationEndpoints contained in this scope.

repeated .google.cloud.compute.v1.NotificationEndpoint resources = 164412965;

Parameter
Name Description
index int
Returns
Type Description
NotificationEndpointOrBuilder

getResourcesOrBuilderList()

public List<? extends NotificationEndpointOrBuilder> getResourcesOrBuilderList()

A list of NotificationEndpoints contained in this scope.

repeated .google.cloud.compute.v1.NotificationEndpoint resources = 164412965;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.NotificationEndpointOrBuilder>

getWarning()

public Warning getWarning()

Informational warning which replaces the list of notification endpoints 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 notification endpoints when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
Warning.Builder

getWarningOrBuilder()

public WarningOrBuilder getWarningOrBuilder()

Informational warning which replaces the list of notification endpoints when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
WarningOrBuilder

hasWarning()

public boolean hasWarning()

Informational warning which replaces the list of notification endpoints 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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NotificationEndpointsScopedList other)

public NotificationEndpointsScopedList.Builder mergeFrom(NotificationEndpointsScopedList other)
Parameter
Name Description
other NotificationEndpointsScopedList
Returns
Type Description
NotificationEndpointsScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NotificationEndpointsScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NotificationEndpointsScopedList.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public NotificationEndpointsScopedList.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
NotificationEndpointsScopedList.Builder
Overrides

mergeWarning(Warning value)

public NotificationEndpointsScopedList.Builder mergeWarning(Warning value)

Informational warning which replaces the list of notification endpoints when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
value Warning
Returns
Type Description
NotificationEndpointsScopedList.Builder

removeResources(int index)

public NotificationEndpointsScopedList.Builder removeResources(int index)

A list of NotificationEndpoints contained in this scope.

repeated .google.cloud.compute.v1.NotificationEndpoint resources = 164412965;

Parameter
Name Description
index int
Returns
Type Description
NotificationEndpointsScopedList.Builder

setResources(int index, NotificationEndpoint value)

public NotificationEndpointsScopedList.Builder setResources(int index, NotificationEndpoint value)

A list of NotificationEndpoints contained in this scope.

repeated .google.cloud.compute.v1.NotificationEndpoint resources = 164412965;

Parameters
Name Description
index int
value NotificationEndpoint
Returns
Type Description
NotificationEndpointsScopedList.Builder

setResources(int index, NotificationEndpoint.Builder builderForValue)

public NotificationEndpointsScopedList.Builder setResources(int index, NotificationEndpoint.Builder builderForValue)

A list of NotificationEndpoints contained in this scope.

repeated .google.cloud.compute.v1.NotificationEndpoint resources = 164412965;

Parameters
Name Description
index int
builderForValue NotificationEndpoint.Builder
Returns
Type Description
NotificationEndpointsScopedList.Builder

setWarning(Warning value)

public NotificationEndpointsScopedList.Builder setWarning(Warning value)

Informational warning which replaces the list of notification endpoints when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
value Warning
Returns
Type Description
NotificationEndpointsScopedList.Builder

setWarning(Warning.Builder builderForValue)

public NotificationEndpointsScopedList.Builder setWarning(Warning.Builder builderForValue)

Informational warning which replaces the list of notification endpoints when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
builderForValue Warning.Builder
Returns
Type Description
NotificationEndpointsScopedList.Builder