Class FetchStaticIpsRequest.Builder (2.44.0)

public static final class FetchStaticIpsRequest.Builder extends GeneratedMessageV3.Builder<FetchStaticIpsRequest.Builder> implements FetchStaticIpsRequestOrBuilder

Request message for 'FetchStaticIps' request.

Protobuf type google.cloud.clouddms.v1.FetchStaticIpsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FetchStaticIpsRequest build()
Returns
Type Description
FetchStaticIpsRequest

buildPartial()

public FetchStaticIpsRequest buildPartial()
Returns
Type Description
FetchStaticIpsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public FetchStaticIpsRequest.Builder clearName()

Required. The resource name for the location for which static IPs should be returned. Must be in the format projects/*/locations/*.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
FetchStaticIpsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public FetchStaticIpsRequest.Builder clearPageSize()

Maximum number of IPs to return.

int32 page_size = 2;

Returns
Type Description
FetchStaticIpsRequest.Builder

This builder for chaining.

clearPageToken()

public FetchStaticIpsRequest.Builder clearPageToken()

A page token, received from a previous FetchStaticIps call.

string page_token = 3;

Returns
Type Description
FetchStaticIpsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public FetchStaticIpsRequest getDefaultInstanceForType()
Returns
Type Description
FetchStaticIpsRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The resource name for the location for which static IPs should be returned. Must be in the format projects/*/locations/*.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name for the location for which static IPs should be returned. Must be in the format projects/*/locations/*.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getPageSize()

public int getPageSize()

Maximum number of IPs to return.

int32 page_size = 2;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

A page token, received from a previous FetchStaticIps call.

string page_token = 3;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

A page token, received from a previous FetchStaticIps call.

string page_token = 3;

Returns
Type Description
ByteString

The bytes for pageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchStaticIpsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public FetchStaticIpsRequest.Builder setName(String value)

Required. The resource name for the location for which static IPs should be returned. Must be in the format projects/*/locations/*.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
FetchStaticIpsRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public FetchStaticIpsRequest.Builder setNameBytes(ByteString value)

Required. The resource name for the location for which static IPs should be returned. Must be in the format projects/*/locations/*.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
FetchStaticIpsRequest.Builder

This builder for chaining.

setPageSize(int value)

public FetchStaticIpsRequest.Builder setPageSize(int value)

Maximum number of IPs to return.

int32 page_size = 2;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
FetchStaticIpsRequest.Builder

This builder for chaining.

setPageToken(String value)

public FetchStaticIpsRequest.Builder setPageToken(String value)

A page token, received from a previous FetchStaticIps call.

string page_token = 3;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
FetchStaticIpsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public FetchStaticIpsRequest.Builder setPageTokenBytes(ByteString value)

A page token, received from a previous FetchStaticIps call.

string page_token = 3;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
FetchStaticIpsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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