- 1.74.0 (latest)
- 1.73.0
- 1.72.0
- 1.70.0
- 1.68.0
- 1.67.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.60.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.5
- 1.2.0
- 1.1.1
- 1.0.5
public static final class FetchStorageInventoryRequest.Builder extends GeneratedMessageV3.Builder<FetchStorageInventoryRequest.Builder> implements FetchStorageInventoryRequestOrBuilder
Request message for fetchStorageInventory.
Protobuf type google.cloud.vmmigration.v1.FetchStorageInventoryRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FetchStorageInventoryRequest.BuilderImplements
FetchStorageInventoryRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FetchStorageInventoryRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
FetchStorageInventoryRequest.Builder |
build()
public FetchStorageInventoryRequest build()
Returns | |
---|---|
Type | Description |
FetchStorageInventoryRequest |
buildPartial()
public FetchStorageInventoryRequest buildPartial()
Returns | |
---|---|
Type | Description |
FetchStorageInventoryRequest |
clear()
public FetchStorageInventoryRequest.Builder clear()
Returns | |
---|---|
Type | Description |
FetchStorageInventoryRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public FetchStorageInventoryRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
FetchStorageInventoryRequest.Builder |
clearForceRefresh()
public FetchStorageInventoryRequest.Builder clearForceRefresh()
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 |
FetchStorageInventoryRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public FetchStorageInventoryRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
FetchStorageInventoryRequest.Builder |
clearPageSize()
public FetchStorageInventoryRequest.Builder clearPageSize()
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 |
FetchStorageInventoryRequest.Builder |
This builder for chaining. |
clearPageToken()
public FetchStorageInventoryRequest.Builder clearPageToken()
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 |
FetchStorageInventoryRequest.Builder |
This builder for chaining. |
clearSource()
public FetchStorageInventoryRequest.Builder clearSource()
Required. The name of the Source.
string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
FetchStorageInventoryRequest.Builder |
This builder for chaining. |
clearType()
public FetchStorageInventoryRequest.Builder clearType()
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.Builder |
This builder for chaining. |
clone()
public FetchStorageInventoryRequest.Builder clone()
Returns | |
---|---|
Type | Description |
FetchStorageInventoryRequest.Builder |
getDefaultInstanceForType()
public FetchStorageInventoryRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
FetchStorageInventoryRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getForceRefresh()
public 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 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 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 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 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(FetchStorageInventoryRequest other)
public FetchStorageInventoryRequest.Builder mergeFrom(FetchStorageInventoryRequest other)
Parameter | |
---|---|
Name | Description |
other |
FetchStorageInventoryRequest |
Returns | |
---|---|
Type | Description |
FetchStorageInventoryRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FetchStorageInventoryRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FetchStorageInventoryRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public FetchStorageInventoryRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
FetchStorageInventoryRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FetchStorageInventoryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
FetchStorageInventoryRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public FetchStorageInventoryRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
FetchStorageInventoryRequest.Builder |
setForceRefresh(boolean value)
public FetchStorageInventoryRequest.Builder setForceRefresh(boolean value)
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];
Parameter | |
---|---|
Name | Description |
value |
boolean The forceRefresh to set. |
Returns | |
---|---|
Type | Description |
FetchStorageInventoryRequest.Builder |
This builder for chaining. |
setPageSize(int value)
public FetchStorageInventoryRequest.Builder setPageSize(int value)
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];
Parameter | |
---|---|
Name | Description |
value |
int The pageSize to set. |
Returns | |
---|---|
Type | Description |
FetchStorageInventoryRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public FetchStorageInventoryRequest.Builder setPageToken(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The pageToken to set. |
Returns | |
---|---|
Type | Description |
FetchStorageInventoryRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public FetchStorageInventoryRequest.Builder setPageTokenBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for pageToken to set. |
Returns | |
---|---|
Type | Description |
FetchStorageInventoryRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FetchStorageInventoryRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
FetchStorageInventoryRequest.Builder |
setSource(String value)
public FetchStorageInventoryRequest.Builder setSource(String value)
Required. The name of the Source.
string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The source to set. |
Returns | |
---|---|
Type | Description |
FetchStorageInventoryRequest.Builder |
This builder for chaining. |
setSourceBytes(ByteString value)
public FetchStorageInventoryRequest.Builder setSourceBytes(ByteString value)
Required. The name of the Source.
string source = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for source to set. |
Returns | |
---|---|
Type | Description |
FetchStorageInventoryRequest.Builder |
This builder for chaining. |
setType(FetchStorageInventoryRequest.StorageType value)
public FetchStorageInventoryRequest.Builder setType(FetchStorageInventoryRequest.StorageType value)
Required. The type of the storage inventory to fetch.
.google.cloud.vmmigration.v1.FetchStorageInventoryRequest.StorageType type = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
FetchStorageInventoryRequest.StorageType The type to set. |
Returns | |
---|---|
Type | Description |
FetchStorageInventoryRequest.Builder |
This builder for chaining. |
setTypeValue(int value)
public FetchStorageInventoryRequest.Builder setTypeValue(int value)
Required. The type of the storage inventory to fetch.
.google.cloud.vmmigration.v1.FetchStorageInventoryRequest.StorageType type = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for type to set. |
Returns | |
---|---|
Type | Description |
FetchStorageInventoryRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final FetchStorageInventoryRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
FetchStorageInventoryRequest.Builder |