Class ListLoggingServersResponse.Builder (0.34.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.vmwareengine.v1.LoggingServer>
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueLoggingServer
Returns
TypeDescription
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
NameDescription
builderForValueLoggingServer.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueLoggingServer
Returns
TypeDescription
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
NameDescription
indexint
builderForValueLoggingServer.Builder
Returns
TypeDescription
ListLoggingServersResponse.Builder

addLoggingServersBuilder()

public LoggingServer.Builder addLoggingServersBuilder()

A list of Logging Servers.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
LoggingServer.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListLoggingServersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
ListLoggingServersResponse.Builder

This builder for chaining.

build()

public ListLoggingServersResponse build()
Returns
TypeDescription
ListLoggingServersResponse

buildPartial()

public ListLoggingServersResponse buildPartial()
Returns
TypeDescription
ListLoggingServersResponse

clear()

public ListLoggingServersResponse.Builder clear()
Returns
TypeDescription
ListLoggingServersResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListLoggingServersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListLoggingServersResponse.Builder
Overrides

clearLoggingServers()

public ListLoggingServersResponse.Builder clearLoggingServers()

A list of Logging Servers.

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

Returns
TypeDescription
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
TypeDescription
ListLoggingServersResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListLoggingServersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ListLoggingServersResponse.Builder

This builder for chaining.

clone()

public ListLoggingServersResponse.Builder clone()
Returns
TypeDescription
ListLoggingServersResponse.Builder
Overrides

getDefaultInstanceForType()

public ListLoggingServersResponse getDefaultInstanceForType()
Returns
TypeDescription
ListLoggingServersResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
LoggingServer.Builder

getLoggingServersBuilderList()

public List<LoggingServer.Builder> getLoggingServersBuilderList()

A list of Logging Servers.

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

Returns
TypeDescription
List<Builder>

getLoggingServersCount()

public int getLoggingServersCount()

A list of Logging Servers.

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

Returns
TypeDescription
int

getLoggingServersList()

public List<LoggingServer> getLoggingServersList()

A list of Logging Servers.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
LoggingServerOrBuilder

getLoggingServersOrBuilderList()

public List<? extends LoggingServerOrBuilder> getLoggingServersOrBuilderList()

A list of Logging Servers.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListLoggingServersResponse other)

public ListLoggingServersResponse.Builder mergeFrom(ListLoggingServersResponse other)
Parameter
NameDescription
otherListLoggingServersResponse
Returns
TypeDescription
ListLoggingServersResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListLoggingServersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListLoggingServersResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListLoggingServersResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListLoggingServersResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListLoggingServersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListLoggingServersResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListLoggingServersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueLoggingServer
Returns
TypeDescription
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
NameDescription
indexint
builderForValueLoggingServer.Builder
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListLoggingServersResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListLoggingServersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListLoggingServersResponse.Builder

This builder for chaining.