Class FetchStaticIpsResponse.Builder (2.51.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
Type Description
Descriptor

Methods

addAllStaticIps(Iterable<String> values)

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

List of static IPs.

repeated string static_ips = 1;

Parameter
Name Description
values Iterable<String>

The staticIps to add.

Returns
Type Description
FetchStaticIpsResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addStaticIps(String value)

public FetchStaticIpsResponse.Builder addStaticIps(String value)

List of static IPs.

repeated string static_ips = 1;

Parameter
Name Description
value String

The staticIps to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the staticIps to add.

Returns
Type Description
FetchStaticIpsResponse.Builder

This builder for chaining.

build()

public FetchStaticIpsResponse build()
Returns
Type Description
FetchStaticIpsResponse

buildPartial()

public FetchStaticIpsResponse buildPartial()
Returns
Type Description
FetchStaticIpsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public FetchStaticIpsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
FetchStaticIpsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStaticIps()

public FetchStaticIpsResponse.Builder clearStaticIps()

List of static IPs.

repeated string static_ips = 1;

Returns
Type Description
FetchStaticIpsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public FetchStaticIpsResponse getDefaultInstanceForType()
Returns
Type Description
FetchStaticIpsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for nextPageToken.

getStaticIps(int index)

public String getStaticIps(int index)

List of static IPs.

repeated string static_ips = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the staticIps at the given index.

getStaticIpsCount()

public int getStaticIpsCount()

List of static IPs.

repeated string static_ips = 1;

Returns
Type Description
int

The count of staticIps.

getStaticIpsList()

public ProtocolStringList getStaticIpsList()

List of static IPs.

repeated string static_ips = 1;

Returns
Type Description
ProtocolStringList

A list containing the staticIps.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchStaticIpsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public FetchStaticIpsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The nextPageToken to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The staticIps to set.

Returns
Type Description
FetchStaticIpsResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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