Class FetchStaticIpsResponse.Builder (2.20.0)

public static final class FetchStaticIpsResponse.Builder extends GeneratedMessageV3.Builder<FetchStaticIpsResponse.Builder> implements FetchStaticIpsResponseOrBuilder

Response message for a 'FetchStaticIps' request.

Protobuf type google.cloud.clouddms.v1.FetchStaticIpsResponse

Static Methods

getDescriptor()

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

Methods

addAllStaticIps(Iterable<String> values)

public FetchStaticIpsResponse.Builder addAllStaticIps(Iterable<String> values)

List of static IPs.

repeated string static_ips = 1;

Parameter
NameDescription
valuesIterable<String>

The staticIps to add.

Returns
TypeDescription
FetchStaticIpsResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FetchStaticIpsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FetchStaticIpsResponse.Builder
Overrides

addStaticIps(String value)

public FetchStaticIpsResponse.Builder addStaticIps(String value)

List of static IPs.

repeated string static_ips = 1;

Parameter
NameDescription
valueString

The staticIps to add.

Returns
TypeDescription
FetchStaticIpsResponse.Builder

This builder for chaining.

addStaticIpsBytes(ByteString value)

public FetchStaticIpsResponse.Builder addStaticIpsBytes(ByteString value)

List of static IPs.

repeated string static_ips = 1;

Parameter
NameDescription
valueByteString

The bytes of the staticIps to add.

Returns
TypeDescription
FetchStaticIpsResponse.Builder

This builder for chaining.

build()

public FetchStaticIpsResponse build()
Returns
TypeDescription
FetchStaticIpsResponse

buildPartial()

public FetchStaticIpsResponse buildPartial()
Returns
TypeDescription
FetchStaticIpsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public FetchStaticIpsResponse.Builder clearNextPageToken()

A token that can be sent 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
FetchStaticIpsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FetchStaticIpsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FetchStaticIpsResponse.Builder
Overrides

clearStaticIps()

public FetchStaticIpsResponse.Builder clearStaticIps()

List of static IPs.

repeated string static_ips = 1;

Returns
TypeDescription
FetchStaticIpsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public FetchStaticIpsResponse getDefaultInstanceForType()
Returns
TypeDescription
FetchStaticIpsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

A token that can be sent 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 that can be sent 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.

getStaticIps(int index)

public String getStaticIps(int index)

List of static IPs.

repeated string static_ips = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The staticIps at the given index.

getStaticIpsBytes(int index)

public ByteString getStaticIpsBytes(int index)

List of static IPs.

repeated string static_ips = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the staticIps at the given index.

getStaticIpsCount()

public int getStaticIpsCount()

List of static IPs.

repeated string static_ips = 1;

Returns
TypeDescription
int

The count of staticIps.

getStaticIpsList()

public ProtocolStringList getStaticIpsList()

List of static IPs.

repeated string static_ips = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the staticIps.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FetchStaticIpsResponse other)

public FetchStaticIpsResponse.Builder mergeFrom(FetchStaticIpsResponse other)
Parameter
NameDescription
otherFetchStaticIpsResponse
Returns
TypeDescription
FetchStaticIpsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FetchStaticIpsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FetchStaticIpsResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public FetchStaticIpsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FetchStaticIpsResponse.Builder
Overrides

setNextPageToken(String value)

public FetchStaticIpsResponse.Builder setNextPageToken(String value)

A token that can be sent 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
FetchStaticIpsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public FetchStaticIpsResponse.Builder setNextPageTokenBytes(ByteString value)

A token that can be sent 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
FetchStaticIpsResponse.Builder

This builder for chaining.

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

public FetchStaticIpsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FetchStaticIpsResponse.Builder
Overrides

setStaticIps(int index, String value)

public FetchStaticIpsResponse.Builder setStaticIps(int index, String value)

List of static IPs.

repeated string static_ips = 1;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The staticIps to set.

Returns
TypeDescription
FetchStaticIpsResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final FetchStaticIpsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FetchStaticIpsResponse.Builder
Overrides