Class MoveImpact.Builder (3.17.0)

public static final class MoveImpact.Builder extends GeneratedMessageV3.Builder<MoveImpact.Builder> implements MoveImpactOrBuilder

A message to group impacts of moving the target resource.

Protobuf type google.cloud.asset.v1.MoveImpact

Implements

MoveImpactOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MoveImpact build()
Returns
Type Description
MoveImpact

buildPartial()

public MoveImpact buildPartial()
Returns
Type Description
MoveImpact

clear()

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

clearDetail()

public MoveImpact.Builder clearDetail()

User friendly impact detail in a free form message.

string detail = 1;

Returns
Type Description
MoveImpact.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public MoveImpact getDefaultInstanceForType()
Returns
Type Description
MoveImpact

getDescriptorForType()

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

getDetail()

public String getDetail()

User friendly impact detail in a free form message.

string detail = 1;

Returns
Type Description
String

The detail.

getDetailBytes()

public ByteString getDetailBytes()

User friendly impact detail in a free form message.

string detail = 1;

Returns
Type Description
ByteString

The bytes for detail.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MoveImpact other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDetail(String value)

public MoveImpact.Builder setDetail(String value)

User friendly impact detail in a free form message.

string detail = 1;

Parameter
Name Description
value String

The detail to set.

Returns
Type Description
MoveImpact.Builder

This builder for chaining.

setDetailBytes(ByteString value)

public MoveImpact.Builder setDetailBytes(ByteString value)

User friendly impact detail in a free form message.

string detail = 1;

Parameter
Name Description
value ByteString

The bytes for detail to set.

Returns
Type Description
MoveImpact.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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