Class ListLoggingServersResponse.Builder (0.49.0)

public static final class ListLoggingServersResponse.Builder extends GeneratedMessageV3.Builder<ListLoggingServersResponse.Builder> implements ListLoggingServersResponseOrBuilder

Response message for VmwareEngine.ListLoggingServers

Protobuf type google.cloud.vmwareengine.v1.ListLoggingServersResponse

Static Methods

getDescriptor()

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

Methods

addAllLoggingServers(Iterable<? extends LoggingServer> values)

public ListLoggingServersResponse.Builder addAllLoggingServers(Iterable<? extends LoggingServer> values)

A list of Logging Servers.

repeated .google.cloud.vmwareengine.v1.LoggingServer logging_servers = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.vmwareengine.v1.LoggingServer>
Returns
Type Description
ListLoggingServersResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListLoggingServersResponse.Builder addAllUnreachable(Iterable<String> values)

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListLoggingServersResponse.Builder

This builder for chaining.

addLoggingServers(LoggingServer value)

public ListLoggingServersResponse.Builder addLoggingServers(LoggingServer value)

A list of Logging Servers.

repeated .google.cloud.vmwareengine.v1.LoggingServer logging_servers = 1;

Parameter
Name Description
value LoggingServer
Returns
Type Description
ListLoggingServersResponse.Builder

addLoggingServers(LoggingServer.Builder builderForValue)

public ListLoggingServersResponse.Builder addLoggingServers(LoggingServer.Builder builderForValue)

A list of Logging Servers.

repeated .google.cloud.vmwareengine.v1.LoggingServer logging_servers = 1;

Parameter
Name Description
builderForValue LoggingServer.Builder
Returns
Type Description
ListLoggingServersResponse.Builder

addLoggingServers(int index, LoggingServer value)

public ListLoggingServersResponse.Builder addLoggingServers(int index, LoggingServer value)

A list of Logging Servers.

repeated .google.cloud.vmwareengine.v1.LoggingServer logging_servers = 1;

Parameters
Name Description
index int
value LoggingServer
Returns
Type Description
ListLoggingServersResponse.Builder

addLoggingServers(int index, LoggingServer.Builder builderForValue)

public ListLoggingServersResponse.Builder addLoggingServers(int index, LoggingServer.Builder builderForValue)

A list of Logging Servers.

repeated .google.cloud.vmwareengine.v1.LoggingServer logging_servers = 1;

Parameters
Name Description
index int
builderForValue LoggingServer.Builder
Returns
Type Description
ListLoggingServersResponse.Builder

addLoggingServersBuilder()

public LoggingServer.Builder addLoggingServersBuilder()

A list of Logging Servers.

repeated .google.cloud.vmwareengine.v1.LoggingServer logging_servers = 1;

Returns
Type Description
LoggingServer.Builder

addLoggingServersBuilder(int index)

public LoggingServer.Builder addLoggingServersBuilder(int index)

A list of Logging Servers.

repeated .google.cloud.vmwareengine.v1.LoggingServer logging_servers = 1;

Parameter
Name Description
index int
Returns
Type Description
LoggingServer.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListLoggingServersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListLoggingServersResponse.Builder
Overrides

addUnreachable(String value)

public ListLoggingServersResponse.Builder addUnreachable(String value)

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListLoggingServersResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListLoggingServersResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListLoggingServersResponse.Builder

This builder for chaining.

build()

public ListLoggingServersResponse build()
Returns
Type Description
ListLoggingServersResponse

buildPartial()

public ListLoggingServersResponse buildPartial()
Returns
Type Description
ListLoggingServersResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListLoggingServersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListLoggingServersResponse.Builder
Overrides

clearLoggingServers()

public ListLoggingServersResponse.Builder clearLoggingServers()

A list of Logging Servers.

repeated .google.cloud.vmwareengine.v1.LoggingServer logging_servers = 1;

Returns
Type Description
ListLoggingServersResponse.Builder

clearNextPageToken()

public ListLoggingServersResponse.Builder clearNextPageToken()

A token, which can be send as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListLoggingServersResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListLoggingServersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListLoggingServersResponse.Builder
Overrides

clearUnreachable()

public ListLoggingServersResponse.Builder clearUnreachable()

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Returns
Type Description
ListLoggingServersResponse.Builder

This builder for chaining.

clone()

public ListLoggingServersResponse.Builder clone()
Returns
Type Description
ListLoggingServersResponse.Builder
Overrides

getDefaultInstanceForType()

public ListLoggingServersResponse getDefaultInstanceForType()
Returns
Type Description
ListLoggingServersResponse

getDescriptorForType()

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

getLoggingServers(int index)

public LoggingServer getLoggingServers(int index)

A list of Logging Servers.

repeated .google.cloud.vmwareengine.v1.LoggingServer logging_servers = 1;

Parameter
Name Description
index int
Returns
Type Description
LoggingServer

getLoggingServersBuilder(int index)

public LoggingServer.Builder getLoggingServersBuilder(int index)

A list of Logging Servers.

repeated .google.cloud.vmwareengine.v1.LoggingServer logging_servers = 1;

Parameter
Name Description
index int
Returns
Type Description
LoggingServer.Builder

getLoggingServersBuilderList()

public List<LoggingServer.Builder> getLoggingServersBuilderList()

A list of Logging Servers.

repeated .google.cloud.vmwareengine.v1.LoggingServer logging_servers = 1;

Returns
Type Description
List<Builder>

getLoggingServersCount()

public int getLoggingServersCount()

A list of Logging Servers.

repeated .google.cloud.vmwareengine.v1.LoggingServer logging_servers = 1;

Returns
Type Description
int

getLoggingServersList()

public List<LoggingServer> getLoggingServersList()

A list of Logging Servers.

repeated .google.cloud.vmwareengine.v1.LoggingServer logging_servers = 1;

Returns
Type Description
List<LoggingServer>

getLoggingServersOrBuilder(int index)

public LoggingServerOrBuilder getLoggingServersOrBuilder(int index)

A list of Logging Servers.

repeated .google.cloud.vmwareengine.v1.LoggingServer logging_servers = 1;

Parameter
Name Description
index int
Returns
Type Description
LoggingServerOrBuilder

getLoggingServersOrBuilderList()

public List<? extends LoggingServerOrBuilder> getLoggingServersOrBuilderList()

A list of Logging Servers.

repeated .google.cloud.vmwareengine.v1.LoggingServer logging_servers = 1;

Returns
Type Description
List<? extends com.google.cloud.vmwareengine.v1.LoggingServerOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token, which can be send as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be send as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListLoggingServersResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListLoggingServersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListLoggingServersResponse.Builder
Overrides

removeLoggingServers(int index)

public ListLoggingServersResponse.Builder removeLoggingServers(int index)

A list of Logging Servers.

repeated .google.cloud.vmwareengine.v1.LoggingServer logging_servers = 1;

Parameter
Name Description
index int
Returns
Type Description
ListLoggingServersResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListLoggingServersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListLoggingServersResponse.Builder
Overrides

setLoggingServers(int index, LoggingServer value)

public ListLoggingServersResponse.Builder setLoggingServers(int index, LoggingServer value)

A list of Logging Servers.

repeated .google.cloud.vmwareengine.v1.LoggingServer logging_servers = 1;

Parameters
Name Description
index int
value LoggingServer
Returns
Type Description
ListLoggingServersResponse.Builder

setLoggingServers(int index, LoggingServer.Builder builderForValue)

public ListLoggingServersResponse.Builder setLoggingServers(int index, LoggingServer.Builder builderForValue)

A list of Logging Servers.

repeated .google.cloud.vmwareengine.v1.LoggingServer logging_servers = 1;

Parameters
Name Description
index int
builderForValue LoggingServer.Builder
Returns
Type Description
ListLoggingServersResponse.Builder

setNextPageToken(String value)

public ListLoggingServersResponse.Builder setNextPageToken(String value)

A token, which can be send as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListLoggingServersResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListLoggingServersResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be send as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListLoggingServersResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListLoggingServersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListLoggingServersResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListLoggingServersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListLoggingServersResponse.Builder
Overrides

setUnreachable(int index, String value)

public ListLoggingServersResponse.Builder setUnreachable(int index, String value)

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListLoggingServersResponse.Builder

This builder for chaining.