Class Collector.Builder (0.19.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Collector build()
Returns
TypeDescription
Collector

buildPartial()

public Collector buildPartial()
Returns
TypeDescription
Collector

clear()

public Collector.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Collector.Builder

This builder for chaining.

clearCollectionDays()

public Collector.Builder clearCollectionDays()

How many days to collect data.

int32 collection_days = 14;

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

clearDescription()

public Collector.Builder clearDescription()

User specified description of the Collector.

string description = 6;

Returns
TypeDescription
Collector.Builder

This builder for chaining.

clearDisplayName()

public Collector.Builder clearDisplayName()

User specified name of the Collector.

string display_name = 5;

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

This builder for chaining.

clearExpectedAssetCount()

public Collector.Builder clearExpectedAssetCount()

User specified expected asset count.

int64 expected_asset_count = 9;

Returns
TypeDescription
Collector.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearLabels()

public Collector.Builder clearLabels()
Returns
TypeDescription
Collector.Builder

clearName()

public Collector.Builder clearName()

name of resource.

string name = 1;

Returns
TypeDescription
Collector.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearServiceAccount()

public Collector.Builder clearServiceAccount()

Service Account email used to ingest data to this Collector.

string service_account = 7;

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

clone()

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

containsLabels(String key)

public boolean containsLabels(String key)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for bucket.

getClientVersion()

public String getClientVersion()

Output only. Client version.

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

Returns
TypeDescription
String

The clientVersion.

getClientVersionBytes()

public ByteString getClientVersionBytes()

Output only. Client version.

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

Returns
TypeDescription
ByteString

The bytes for clientVersion.

getCollectionDays()

public int getCollectionDays()

How many days to collect data.

int32 collection_days = 14;

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

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Create time stamp.

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

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Collector getDefaultInstanceForType()
Returns
TypeDescription
Collector

getDescription()

public String getDescription()

User specified description of the Collector.

string description = 6;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

User specified description of the Collector.

string description = 6;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

User specified name of the Collector.

string display_name = 5;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

User specified name of the Collector.

string display_name = 5;

Returns
TypeDescription
ByteString

The bytes for displayName.

getEulaUri()

public String getEulaUri()

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

string eula_uri = 15;

Returns
TypeDescription
String

The eulaUri.

getEulaUriBytes()

public ByteString getEulaUriBytes()

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

string eula_uri = 15;

Returns
TypeDescription
ByteString

The bytes for eulaUri.

getExpectedAssetCount()

public long getExpectedAssetCount()

User specified expected asset count.

int64 expected_asset_count = 9;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
GuestOsScanOrBuilder

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Labels as key value pairs.

map<string, string> labels = 4;

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Labels as key value pairs.

map<string, string> labels = 4;

Returns
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Labels as key value pairs.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getName()

public String getName()

name of resource.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

name of resource.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getServiceAccount()

public String getServiceAccount()

Service Account email used to ingest data to this Collector.

string service_account = 7;

Returns
TypeDescription
String

The serviceAccount.

getServiceAccountBytes()

public ByteString getServiceAccountBytes()

Service Account email used to ingest data to this Collector.

string service_account = 7;

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

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Update time stamp.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
VSphereScanOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. Create time stamp.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the vsphereScan field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
Collector.Builder

mergeFrom(Collector other)

public Collector.Builder mergeFrom(Collector other)
Parameter
NameDescription
otherCollector
Returns
TypeDescription
Collector.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Collector.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueGuestOsScan
Returns
TypeDescription
Collector.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Collector.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueVSphereScan
Returns
TypeDescription
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
NameDescription
valuesMap<String,String>
Returns
TypeDescription
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
NameDescription
keyString
valueString
Returns
TypeDescription
Collector.Builder

removeLabels(String key)

public Collector.Builder removeLabels(String key)

Labels as key value pairs.

map<string, string> labels = 4;

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

The bucket to set.

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

The bytes for bucket to set.

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

The clientVersion to set.

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

The bytes for clientVersion to set.

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

The collectionDays to set.

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
Collector.Builder

setDescription(String value)

public Collector.Builder setDescription(String value)

User specified description of the Collector.

string description = 6;

Parameter
NameDescription
valueString

The description to set.

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

The bytes for description to set.

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

The displayName to set.

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

The bytes for displayName to set.

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

The eulaUri to set.

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

The bytes for eulaUri to set.

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

The expectedAssetCount to set.

Returns
TypeDescription
Collector.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public Collector.Builder setName(String value)

name of resource.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Collector.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Collector.Builder setNameBytes(ByteString value)

name of resource.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

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

The serviceAccount to set.

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

The bytes for serviceAccount to set.

Returns
TypeDescription
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
NameDescription
valueCollector.State

The state to set.

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

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

Returns
TypeDescription
Collector.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Collector.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueVSphereScan
Returns
TypeDescription
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
NameDescription
builderForValueVSphereScan.Builder
Returns
TypeDescription
Collector.Builder