Class ListErrorFramesRequest.Builder (0.30.0)

public static final class ListErrorFramesRequest.Builder extends GeneratedMessageV3.Builder<ListErrorFramesRequest.Builder> implements ListErrorFramesRequestOrBuilder

A request to list error frames for a source.

Protobuf type google.cloud.migrationcenter.v1.ListErrorFramesRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListErrorFramesRequest build()
Returns
Type Description
ListErrorFramesRequest

buildPartial()

public ListErrorFramesRequest buildPartial()
Returns
Type Description
ListErrorFramesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListErrorFramesRequest.Builder clearPageSize()

Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

int32 page_size = 2;

Returns
Type Description
ListErrorFramesRequest.Builder

This builder for chaining.

clearPageToken()

public ListErrorFramesRequest.Builder clearPageToken()

A token identifying a page of results the server should return.

string page_token = 3;

Returns
Type Description
ListErrorFramesRequest.Builder

This builder for chaining.

clearParent()

public ListErrorFramesRequest.Builder clearParent()

Required. Parent value (the source) for ListErrorFramesRequest.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ListErrorFramesRequest.Builder

This builder for chaining.

clearView()

public ListErrorFramesRequest.Builder clearView()

Optional. An optional view mode to control the level of details of each error frame. The default is a BASIC frame view.

.google.cloud.migrationcenter.v1.ErrorFrameView view = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListErrorFramesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListErrorFramesRequest getDefaultInstanceForType()
Returns
Type Description
ListErrorFramesRequest

getDescriptorForType()

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

getPageSize()

public int getPageSize()

Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

int32 page_size = 2;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

A token identifying a page of results the server should return.

string page_token = 3;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

A token identifying a page of results the server should return.

string page_token = 3;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. Parent value (the source) for ListErrorFramesRequest.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Parent value (the source) for ListErrorFramesRequest.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getView()

public ErrorFrameView getView()

Optional. An optional view mode to control the level of details of each error frame. The default is a BASIC frame view.

.google.cloud.migrationcenter.v1.ErrorFrameView view = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ErrorFrameView

The view.

getViewValue()

public int getViewValue()

Optional. An optional view mode to control the level of details of each error frame. The default is a BASIC frame view.

.google.cloud.migrationcenter.v1.ErrorFrameView view = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for view.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListErrorFramesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public ListErrorFramesRequest.Builder setPageSize(int value)

Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

int32 page_size = 2;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListErrorFramesRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListErrorFramesRequest.Builder setPageToken(String value)

A token identifying a page of results the server should return.

string page_token = 3;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListErrorFramesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListErrorFramesRequest.Builder setPageTokenBytes(ByteString value)

A token identifying a page of results the server should return.

string page_token = 3;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListErrorFramesRequest.Builder

This builder for chaining.

setParent(String value)

public ListErrorFramesRequest.Builder setParent(String value)

Required. Parent value (the source) for ListErrorFramesRequest.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListErrorFramesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListErrorFramesRequest.Builder setParentBytes(ByteString value)

Required. Parent value (the source) for ListErrorFramesRequest.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListErrorFramesRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setView(ErrorFrameView value)

public ListErrorFramesRequest.Builder setView(ErrorFrameView value)

Optional. An optional view mode to control the level of details of each error frame. The default is a BASIC frame view.

.google.cloud.migrationcenter.v1.ErrorFrameView view = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ErrorFrameView

The view to set.

Returns
Type Description
ListErrorFramesRequest.Builder

This builder for chaining.

setViewValue(int value)

public ListErrorFramesRequest.Builder setViewValue(int value)

Optional. An optional view mode to control the level of details of each error frame. The default is a BASIC frame view.

.google.cloud.migrationcenter.v1.ErrorFrameView view = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

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

Returns
Type Description
ListErrorFramesRequest.Builder

This builder for chaining.