Class MoveImpact.Builder (3.7.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MoveImpact build()
Returns
TypeDescription
MoveImpact

buildPartial()

public MoveImpact buildPartial()
Returns
TypeDescription
MoveImpact

clear()

public MoveImpact.Builder clear()
Returns
TypeDescription
MoveImpact.Builder
Overrides

clearDetail()

public MoveImpact.Builder clearDetail()

User friendly impact detail in a free form message.

string detail = 1;

Returns
TypeDescription
MoveImpact.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public MoveImpact.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
MoveImpact.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public MoveImpact getDefaultInstanceForType()
Returns
TypeDescription
MoveImpact

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDetail()

public String getDetail()

User friendly impact detail in a free form message.

string detail = 1;

Returns
TypeDescription
String

The detail.

getDetailBytes()

public ByteString getDetailBytes()

User friendly impact detail in a free form message.

string detail = 1;

Returns
TypeDescription
ByteString

The bytes for detail.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(MoveImpact other)

public MoveImpact.Builder mergeFrom(MoveImpact other)
Parameter
NameDescription
otherMoveImpact
Returns
TypeDescription
MoveImpact.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public MoveImpact.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
MoveImpact.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MoveImpact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The detail to set.

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

The bytes for detail to set.

Returns
TypeDescription
MoveImpact.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public MoveImpact.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
MoveImpact.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MoveImpact.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MoveImpact.Builder
Overrides