Class FetchStaticIpsRequest.Builder (2.28.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FetchStaticIpsRequest build()
Returns
TypeDescription
FetchStaticIpsRequest

buildPartial()

public FetchStaticIpsRequest buildPartial()
Returns
TypeDescription
FetchStaticIpsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public FetchStaticIpsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
FetchStaticIpsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public FetchStaticIpsRequest.Builder clearPageSize()

Maximum number of IPs to return.

int32 page_size = 2;

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public FetchStaticIpsRequest getDefaultInstanceForType()
Returns
TypeDescription
FetchStaticIpsRequest

getDescriptorForType()

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

The bytes for name.

getPageSize()

public int getPageSize()

Maximum number of IPs to return.

int32 page_size = 2;

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

A page token, received from a previous FetchStaticIps call.

string page_token = 3;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

A page token, received from a previous FetchStaticIps call.

string page_token = 3;

Returns
TypeDescription
ByteString

The bytes for pageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FetchStaticIpsRequest other)

public FetchStaticIpsRequest.Builder mergeFrom(FetchStaticIpsRequest other)
Parameter
NameDescription
otherFetchStaticIpsRequest
Returns
TypeDescription
FetchStaticIpsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

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

The pageSize to set.

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

The pageToken to set.

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

The bytes for pageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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