Class Collector.Builder (0.28.0)

public static final class Collector.Builder extends GeneratedMessageV3.Builder<Collector.Builder> implements CollectorOrBuilder

Message describing Collector object.

Protobuf type google.cloud.rapidmigrationassessment.v1.Collector

Implements

CollectorOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Collector build()
Returns
Type Description
Collector

buildPartial()

public Collector buildPartial()
Returns
Type Description
Collector

clear()

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

clearBucket()

public Collector.Builder clearBucket()

Output only. Store cloud storage bucket name (which is a guid) created with this Collector.

string bucket = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Collector.Builder

This builder for chaining.

clearClientVersion()

public Collector.Builder clearClientVersion()

Output only. Client version.

string client_version = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Collector.Builder

This builder for chaining.

clearCollectionDays()

public Collector.Builder clearCollectionDays()

How many days to collect data.

int32 collection_days = 14;

Returns
Type Description
Collector.Builder

This builder for chaining.

clearCreateTime()

public Collector.Builder clearCreateTime()

Output only. Create time stamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Collector.Builder

clearDescription()

public Collector.Builder clearDescription()

User specified description of the Collector.

string description = 6;

Returns
Type Description
Collector.Builder

This builder for chaining.

clearDisplayName()

public Collector.Builder clearDisplayName()

User specified name of the Collector.

string display_name = 5;

Returns
Type Description
Collector.Builder

This builder for chaining.

clearEulaUri()

public Collector.Builder clearEulaUri()

Uri for EULA (End User License Agreement) from customer.

string eula_uri = 15;

Returns
Type Description
Collector.Builder

This builder for chaining.

clearExpectedAssetCount()

public Collector.Builder clearExpectedAssetCount()

User specified expected asset count.

int64 expected_asset_count = 9;

Returns
Type Description
Collector.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearGuestOsScan()

public Collector.Builder clearGuestOsScan()

Output only. Reference to MC Source Guest Os Scan.

.google.cloud.rapidmigrationassessment.v1.GuestOsScan guest_os_scan = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Collector.Builder

clearLabels()

public Collector.Builder clearLabels()
Returns
Type Description
Collector.Builder

clearName()

public Collector.Builder clearName()

name of resource.

string name = 1;

Returns
Type Description
Collector.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearServiceAccount()

public Collector.Builder clearServiceAccount()

Service Account email used to ingest data to this Collector.

string service_account = 7;

Returns
Type Description
Collector.Builder

This builder for chaining.

clearState()

public Collector.Builder clearState()

Output only. State of the Collector.

.google.cloud.rapidmigrationassessment.v1.Collector.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Collector.Builder

This builder for chaining.

clearUpdateTime()

public Collector.Builder clearUpdateTime()

Output only. Update time stamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Collector.Builder

clearVsphereScan()

public Collector.Builder clearVsphereScan()

Output only. Reference to MC Source vsphere_scan.

.google.cloud.rapidmigrationassessment.v1.VSphereScan vsphere_scan = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Collector.Builder

clone()

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

containsLabels(String key)

public boolean containsLabels(String key)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
boolean

getBucket()

public String getBucket()

Output only. Store cloud storage bucket name (which is a guid) created with this Collector.

string bucket = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The bucket.

getBucketBytes()

public ByteString getBucketBytes()

Output only. Store cloud storage bucket name (which is a guid) created with this Collector.

string bucket = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for bucket.

getClientVersion()

public String getClientVersion()

Output only. Client version.

string client_version = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The clientVersion.

getClientVersionBytes()

public ByteString getClientVersionBytes()

Output only. Client version.

string client_version = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for clientVersion.

getCollectionDays()

public int getCollectionDays()

How many days to collect data.

int32 collection_days = 14;

Returns
Type Description
int

The collectionDays.

getCreateTime()

public Timestamp getCreateTime()

Output only. Create time stamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Create time stamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Create time stamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Collector getDefaultInstanceForType()
Returns
Type Description
Collector

getDescription()

public String getDescription()

User specified description of the Collector.

string description = 6;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

User specified description of the Collector.

string description = 6;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

User specified name of the Collector.

string display_name = 5;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

User specified name of the Collector.

string display_name = 5;

Returns
Type Description
ByteString

The bytes for displayName.

getEulaUri()

public String getEulaUri()

Uri for EULA (End User License Agreement) from customer.

string eula_uri = 15;

Returns
Type Description
String

The eulaUri.

getEulaUriBytes()

public ByteString getEulaUriBytes()

Uri for EULA (End User License Agreement) from customer.

string eula_uri = 15;

Returns
Type Description
ByteString

The bytes for eulaUri.

getExpectedAssetCount()

public long getExpectedAssetCount()

User specified expected asset count.

int64 expected_asset_count = 9;

Returns
Type Description
long

The expectedAssetCount.

getGuestOsScan()

public GuestOsScan getGuestOsScan()

Output only. Reference to MC Source Guest Os Scan.

.google.cloud.rapidmigrationassessment.v1.GuestOsScan guest_os_scan = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GuestOsScan

The guestOsScan.

getGuestOsScanBuilder()

public GuestOsScan.Builder getGuestOsScanBuilder()

Output only. Reference to MC Source Guest Os Scan.

.google.cloud.rapidmigrationassessment.v1.GuestOsScan guest_os_scan = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GuestOsScan.Builder

getGuestOsScanOrBuilder()

public GuestOsScanOrBuilder getGuestOsScanOrBuilder()

Output only. Reference to MC Source Guest Os Scan.

.google.cloud.rapidmigrationassessment.v1.GuestOsScan guest_os_scan = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GuestOsScanOrBuilder

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Labels as key value pairs.

map<string, string> labels = 4;

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Labels as key value pairs.

map<string, string> labels = 4;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Labels as key value pairs.

map<string, string> labels = 4;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
String

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getName()

public String getName()

name of resource.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

name of resource.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getServiceAccount()

public String getServiceAccount()

Service Account email used to ingest data to this Collector.

string service_account = 7;

Returns
Type Description
String

The serviceAccount.

getServiceAccountBytes()

public ByteString getServiceAccountBytes()

Service Account email used to ingest data to this Collector.

string service_account = 7;

Returns
Type Description
ByteString

The bytes for serviceAccount.

getState()

public Collector.State getState()

Output only. State of the Collector.

.google.cloud.rapidmigrationassessment.v1.Collector.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Collector.State

The state.

getStateValue()

public int getStateValue()

Output only. State of the Collector.

.google.cloud.rapidmigrationassessment.v1.Collector.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Update time stamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Update time stamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Update time stamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getVsphereScan()

public VSphereScan getVsphereScan()

Output only. Reference to MC Source vsphere_scan.

.google.cloud.rapidmigrationassessment.v1.VSphereScan vsphere_scan = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VSphereScan

The vsphereScan.

getVsphereScanBuilder()

public VSphereScan.Builder getVsphereScanBuilder()

Output only. Reference to MC Source vsphere_scan.

.google.cloud.rapidmigrationassessment.v1.VSphereScan vsphere_scan = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VSphereScan.Builder

getVsphereScanOrBuilder()

public VSphereScanOrBuilder getVsphereScanOrBuilder()

Output only. Reference to MC Source vsphere_scan.

.google.cloud.rapidmigrationassessment.v1.VSphereScan vsphere_scan = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VSphereScanOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. Create time stamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasGuestOsScan()

public boolean hasGuestOsScan()

Output only. Reference to MC Source Guest Os Scan.

.google.cloud.rapidmigrationassessment.v1.GuestOsScan guest_os_scan = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the guestOsScan field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Update time stamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

hasVsphereScan()

public boolean hasVsphereScan()

Output only. Reference to MC Source vsphere_scan.

.google.cloud.rapidmigrationassessment.v1.VSphereScan vsphere_scan = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the vsphereScan field is set.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public Collector.Builder mergeCreateTime(Timestamp value)

Output only. Create time stamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Collector.Builder

mergeFrom(Collector other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGuestOsScan(GuestOsScan value)

public Collector.Builder mergeGuestOsScan(GuestOsScan value)

Output only. Reference to MC Source Guest Os Scan.

.google.cloud.rapidmigrationassessment.v1.GuestOsScan guest_os_scan = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value GuestOsScan
Returns
Type Description
Collector.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public Collector.Builder mergeUpdateTime(Timestamp value)

Output only. Update time stamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Collector.Builder

mergeVsphereScan(VSphereScan value)

public Collector.Builder mergeVsphereScan(VSphereScan value)

Output only. Reference to MC Source vsphere_scan.

.google.cloud.rapidmigrationassessment.v1.VSphereScan vsphere_scan = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value VSphereScan
Returns
Type Description
Collector.Builder

putAllLabels(Map<String,String> values)

public Collector.Builder putAllLabels(Map<String,String> values)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
Name Description
values Map<String,String>
Returns
Type Description
Collector.Builder

putLabels(String key, String value)

public Collector.Builder putLabels(String key, String value)

Labels as key value pairs.

map<string, string> labels = 4;

Parameters
Name Description
key String
value String
Returns
Type Description
Collector.Builder

removeLabels(String key)

public Collector.Builder removeLabels(String key)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
Collector.Builder

setBucket(String value)

public Collector.Builder setBucket(String value)

Output only. Store cloud storage bucket name (which is a guid) created with this Collector.

string bucket = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The bucket to set.

Returns
Type Description
Collector.Builder

This builder for chaining.

setBucketBytes(ByteString value)

public Collector.Builder setBucketBytes(ByteString value)

Output only. Store cloud storage bucket name (which is a guid) created with this Collector.

string bucket = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for bucket to set.

Returns
Type Description
Collector.Builder

This builder for chaining.

setClientVersion(String value)

public Collector.Builder setClientVersion(String value)

Output only. Client version.

string client_version = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The clientVersion to set.

Returns
Type Description
Collector.Builder

This builder for chaining.

setClientVersionBytes(ByteString value)

public Collector.Builder setClientVersionBytes(ByteString value)

Output only. Client version.

string client_version = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for clientVersion to set.

Returns
Type Description
Collector.Builder

This builder for chaining.

setCollectionDays(int value)

public Collector.Builder setCollectionDays(int value)

How many days to collect data.

int32 collection_days = 14;

Parameter
Name Description
value int

The collectionDays to set.

Returns
Type Description
Collector.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public Collector.Builder setCreateTime(Timestamp value)

Output only. Create time stamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Collector.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Collector.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Create time stamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Collector.Builder

setDescription(String value)

public Collector.Builder setDescription(String value)

User specified description of the Collector.

string description = 6;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
Collector.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Collector.Builder setDescriptionBytes(ByteString value)

User specified description of the Collector.

string description = 6;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
Collector.Builder

This builder for chaining.

setDisplayName(String value)

public Collector.Builder setDisplayName(String value)

User specified name of the Collector.

string display_name = 5;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
Collector.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Collector.Builder setDisplayNameBytes(ByteString value)

User specified name of the Collector.

string display_name = 5;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
Collector.Builder

This builder for chaining.

setEulaUri(String value)

public Collector.Builder setEulaUri(String value)

Uri for EULA (End User License Agreement) from customer.

string eula_uri = 15;

Parameter
Name Description
value String

The eulaUri to set.

Returns
Type Description
Collector.Builder

This builder for chaining.

setEulaUriBytes(ByteString value)

public Collector.Builder setEulaUriBytes(ByteString value)

Uri for EULA (End User License Agreement) from customer.

string eula_uri = 15;

Parameter
Name Description
value ByteString

The bytes for eulaUri to set.

Returns
Type Description
Collector.Builder

This builder for chaining.

setExpectedAssetCount(long value)

public Collector.Builder setExpectedAssetCount(long value)

User specified expected asset count.

int64 expected_asset_count = 9;

Parameter
Name Description
value long

The expectedAssetCount to set.

Returns
Type Description
Collector.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setGuestOsScan(GuestOsScan value)

public Collector.Builder setGuestOsScan(GuestOsScan value)

Output only. Reference to MC Source Guest Os Scan.

.google.cloud.rapidmigrationassessment.v1.GuestOsScan guest_os_scan = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value GuestOsScan
Returns
Type Description
Collector.Builder

setGuestOsScan(GuestOsScan.Builder builderForValue)

public Collector.Builder setGuestOsScan(GuestOsScan.Builder builderForValue)

Output only. Reference to MC Source Guest Os Scan.

.google.cloud.rapidmigrationassessment.v1.GuestOsScan guest_os_scan = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue GuestOsScan.Builder
Returns
Type Description
Collector.Builder

setName(String value)

public Collector.Builder setName(String value)

name of resource.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Collector.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Collector.Builder setNameBytes(ByteString value)

name of resource.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Collector.Builder

This builder for chaining.

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

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

setServiceAccount(String value)

public Collector.Builder setServiceAccount(String value)

Service Account email used to ingest data to this Collector.

string service_account = 7;

Parameter
Name Description
value String

The serviceAccount to set.

Returns
Type Description
Collector.Builder

This builder for chaining.

setServiceAccountBytes(ByteString value)

public Collector.Builder setServiceAccountBytes(ByteString value)

Service Account email used to ingest data to this Collector.

string service_account = 7;

Parameter
Name Description
value ByteString

The bytes for serviceAccount to set.

Returns
Type Description
Collector.Builder

This builder for chaining.

setState(Collector.State value)

public Collector.Builder setState(Collector.State value)

Output only. State of the Collector.

.google.cloud.rapidmigrationassessment.v1.Collector.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Collector.State

The state to set.

Returns
Type Description
Collector.Builder

This builder for chaining.

setStateValue(int value)

public Collector.Builder setStateValue(int value)

Output only. State of the Collector.

.google.cloud.rapidmigrationassessment.v1.Collector.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
Collector.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public Collector.Builder setUpdateTime(Timestamp value)

Output only. Update time stamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Collector.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Collector.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Update time stamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Collector.Builder

setVsphereScan(VSphereScan value)

public Collector.Builder setVsphereScan(VSphereScan value)

Output only. Reference to MC Source vsphere_scan.

.google.cloud.rapidmigrationassessment.v1.VSphereScan vsphere_scan = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value VSphereScan
Returns
Type Description
Collector.Builder

setVsphereScan(VSphereScan.Builder builderForValue)

public Collector.Builder setVsphereScan(VSphereScan.Builder builderForValue)

Output only. Reference to MC Source vsphere_scan.

.google.cloud.rapidmigrationassessment.v1.VSphereScan vsphere_scan = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue VSphereScan.Builder
Returns
Type Description
Collector.Builder