Interface FetchStorageInventoryRequestOrBuilder (1.74.0)

public interface FetchStorageInventoryRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getForceRefresh()

public abstract boolean getForceRefresh()

Optional. If this flag is set to true, the source will be queried instead of using cached results. Using this flag will make the call slower.

bool force_refresh = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The forceRefresh.

getPageSize()

public abstract int getPageSize()

Optional. The maximum number of VMs to return. The service may return fewer than this value.

int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public abstract String getPageToken()

Optional. A page token, received from a previous FetchStorageInventory call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FetchStorageInventory must match the call that provided the page token.

string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public abstract ByteString getPageTokenBytes()

Optional. A page token, received from a previous FetchStorageInventory call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to FetchStorageInventory must match the call that provided the page token.

string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pageToken.

getSource()

public abstract String getSource()

Required. The name of the Source.

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

Returns
Type Description
String

The source.

getSourceBytes()

public abstract ByteString getSourceBytes()

Required. The name of the Source.

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

Returns
Type Description
ByteString

The bytes for source.

getType()

public abstract FetchStorageInventoryRequest.StorageType getType()

Required. The type of the storage inventory to fetch.

.google.cloud.vmmigration.v1.FetchStorageInventoryRequest.StorageType type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FetchStorageInventoryRequest.StorageType

The type.

getTypeValue()

public abstract int getTypeValue()

Required. The type of the storage inventory to fetch.

.google.cloud.vmmigration.v1.FetchStorageInventoryRequest.StorageType type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for type.