Class ListErrorFramesRequest.Builder (0.15.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListErrorFramesRequest build()
Returns
TypeDescription
ListErrorFramesRequest

buildPartial()

public ListErrorFramesRequest buildPartial()
Returns
TypeDescription
ListErrorFramesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ListErrorFramesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ListErrorFramesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListErrorFramesRequest getDefaultInstanceForType()
Returns
TypeDescription
ListErrorFramesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

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

string page_token = 3;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

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

string page_token = 3;

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

The enum numeric value on the wire for view.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListErrorFramesRequest other)

public ListErrorFramesRequest.Builder mergeFrom(ListErrorFramesRequest other)
Parameter
NameDescription
otherListErrorFramesRequest
Returns
TypeDescription
ListErrorFramesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListErrorFramesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListErrorFramesRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

The pageSize to set.

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

The pageToken to set.

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

The bytes for pageToken to set.

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

The parent to set.

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

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListErrorFramesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListErrorFramesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueErrorFrameView

The view to set.

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

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

Returns
TypeDescription
ListErrorFramesRequest.Builder

This builder for chaining.