Class ReportAssetFramesRequest.Builder (0.31.0)

public static final class ReportAssetFramesRequest.Builder extends GeneratedMessageV3.Builder<ReportAssetFramesRequest.Builder> implements ReportAssetFramesRequestOrBuilder

A request to report a set of asset frames.

Protobuf type google.cloud.migrationcenter.v1.ReportAssetFramesRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReportAssetFramesRequest build()
Returns
Type Description
ReportAssetFramesRequest

buildPartial()

public ReportAssetFramesRequest buildPartial()
Returns
Type Description
ReportAssetFramesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFrames()

public ReportAssetFramesRequest.Builder clearFrames()

Collection of frames data.

.google.cloud.migrationcenter.v1.Frames frames = 2;

Returns
Type Description
ReportAssetFramesRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public ReportAssetFramesRequest.Builder clearParent()

Required. Parent of the resource.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReportAssetFramesRequest.Builder

This builder for chaining.

clearSource()

public ReportAssetFramesRequest.Builder clearSource()

Required. Reference to a source.

string source = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ReportAssetFramesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ReportAssetFramesRequest getDefaultInstanceForType()
Returns
Type Description
ReportAssetFramesRequest

getDescriptorForType()

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

getFrames()

public Frames getFrames()

Collection of frames data.

.google.cloud.migrationcenter.v1.Frames frames = 2;

Returns
Type Description
Frames

The frames.

getFramesBuilder()

public Frames.Builder getFramesBuilder()

Collection of frames data.

.google.cloud.migrationcenter.v1.Frames frames = 2;

Returns
Type Description
Frames.Builder

getFramesOrBuilder()

public FramesOrBuilder getFramesOrBuilder()

Collection of frames data.

.google.cloud.migrationcenter.v1.Frames frames = 2;

Returns
Type Description
FramesOrBuilder

getParent()

public String getParent()

Required. Parent of the resource.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Parent of the resource.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for parent.

getSource()

public String getSource()

Required. Reference to a source.

string source = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The source.

getSourceBytes()

public ByteString getSourceBytes()

Required. Reference to a source.

string source = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for source.

hasFrames()

public boolean hasFrames()

Collection of frames data.

.google.cloud.migrationcenter.v1.Frames frames = 2;

Returns
Type Description
boolean

Whether the frames field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrames(Frames value)

public ReportAssetFramesRequest.Builder mergeFrames(Frames value)

Collection of frames data.

.google.cloud.migrationcenter.v1.Frames frames = 2;

Parameter
Name Description
value Frames
Returns
Type Description
ReportAssetFramesRequest.Builder

mergeFrom(ReportAssetFramesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFrames(Frames value)

public ReportAssetFramesRequest.Builder setFrames(Frames value)

Collection of frames data.

.google.cloud.migrationcenter.v1.Frames frames = 2;

Parameter
Name Description
value Frames
Returns
Type Description
ReportAssetFramesRequest.Builder

setFrames(Frames.Builder builderForValue)

public ReportAssetFramesRequest.Builder setFrames(Frames.Builder builderForValue)

Collection of frames data.

.google.cloud.migrationcenter.v1.Frames frames = 2;

Parameter
Name Description
builderForValue Frames.Builder
Returns
Type Description
ReportAssetFramesRequest.Builder

setParent(String value)

public ReportAssetFramesRequest.Builder setParent(String value)

Required. Parent of the resource.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ReportAssetFramesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ReportAssetFramesRequest.Builder setParentBytes(ByteString value)

Required. Parent of the resource.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ReportAssetFramesRequest.Builder

This builder for chaining.

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

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

setSource(String value)

public ReportAssetFramesRequest.Builder setSource(String value)

Required. Reference to a source.

string source = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The source to set.

Returns
Type Description
ReportAssetFramesRequest.Builder

This builder for chaining.

setSourceBytes(ByteString value)

public ReportAssetFramesRequest.Builder setSourceBytes(ByteString value)

Required. Reference to a source.

string source = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for source to set.

Returns
Type Description
ReportAssetFramesRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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