public_client

package
v1.0.22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListPublicDevicesDescriptor

type ListPublicDevicesDescriptor struct{}

func GetListPublicDevicesDescriptor

func GetListPublicDevicesDescriptor() *ListPublicDevicesDescriptor

func (*ListPublicDevicesDescriptor) GetApiDescriptor

func (*ListPublicDevicesDescriptor) GetApiName

func (d *ListPublicDevicesDescriptor) GetApiName() string

func (*ListPublicDevicesDescriptor) GetClientMsgReflectHandle

func (d *ListPublicDevicesDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*ListPublicDevicesDescriptor) GetFullMethodName

func (d *ListPublicDevicesDescriptor) GetFullMethodName() string

func (*ListPublicDevicesDescriptor) GetMethodName

func (d *ListPublicDevicesDescriptor) GetMethodName() string

func (*ListPublicDevicesDescriptor) GetProtoPkgName

func (d *ListPublicDevicesDescriptor) GetProtoPkgName() string

func (*ListPublicDevicesDescriptor) GetResourceDescriptor

func (d *ListPublicDevicesDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*ListPublicDevicesDescriptor) GetServerMsgReflectHandle

func (d *ListPublicDevicesDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*ListPublicDevicesDescriptor) GetServiceDomain

func (d *ListPublicDevicesDescriptor) GetServiceDomain() string

func (*ListPublicDevicesDescriptor) GetServiceVersion

func (d *ListPublicDevicesDescriptor) GetServiceVersion() string

func (*ListPublicDevicesDescriptor) GetVerb

func (d *ListPublicDevicesDescriptor) GetVerb() string

func (*ListPublicDevicesDescriptor) HasResource

func (d *ListPublicDevicesDescriptor) HasResource() bool

func (*ListPublicDevicesDescriptor) IsClientStream

func (d *ListPublicDevicesDescriptor) IsClientStream() bool

func (*ListPublicDevicesDescriptor) IsCollection

func (d *ListPublicDevicesDescriptor) IsCollection() bool

func (*ListPublicDevicesDescriptor) IsPlural

func (d *ListPublicDevicesDescriptor) IsPlural() bool

func (*ListPublicDevicesDescriptor) IsServerStream

func (d *ListPublicDevicesDescriptor) IsServerStream() bool

func (*ListPublicDevicesDescriptor) IsUnary

func (d *ListPublicDevicesDescriptor) IsUnary() bool

func (*ListPublicDevicesDescriptor) NewEmptyClientMsg

func (d *ListPublicDevicesDescriptor) NewEmptyClientMsg() proto.Message

func (*ListPublicDevicesDescriptor) NewEmptyServerMsg

func (d *ListPublicDevicesDescriptor) NewEmptyServerMsg() proto.Message

func (*ListPublicDevicesDescriptor) RequestHasResourceBody

func (d *ListPublicDevicesDescriptor) RequestHasResourceBody() bool

type ListPublicDevicesDescriptorClientMsgHandle

type ListPublicDevicesDescriptorClientMsgHandle struct{}

func (*ListPublicDevicesDescriptorClientMsgHandle) ExtractCollectionName

func (*ListPublicDevicesDescriptorClientMsgHandle) ExtractResourceBodies

func (*ListPublicDevicesDescriptorClientMsgHandle) ExtractResourceBody

func (*ListPublicDevicesDescriptorClientMsgHandle) ExtractResourceName

func (*ListPublicDevicesDescriptorClientMsgHandle) ExtractResourceNames

type ListPublicDevicesDescriptorServerMsgHandle

type ListPublicDevicesDescriptorServerMsgHandle struct{}

func (*ListPublicDevicesDescriptorServerMsgHandle) ExtractCollectionName

func (*ListPublicDevicesDescriptorServerMsgHandle) ExtractResourceBodies

func (*ListPublicDevicesDescriptorServerMsgHandle) ExtractResourceBody

func (*ListPublicDevicesDescriptorServerMsgHandle) ExtractResourceName

func (*ListPublicDevicesDescriptorServerMsgHandle) ExtractResourceNames

type ListPublicDevicesRequest

type ListPublicDevicesRequest struct {

	// Parent name of ntt.devices.v1.Device
	Parent *device.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// Requested page size. Server may return fewer Devices than requested.
	// If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty" firestore:"pageSize"`
	// A token identifying a page of results the server should return.
	// Typically, this is the value of
	// [ListDevicesResponse.next_page_token][ntt.devices.v1.ListDevicesResponse.next_page_token]
	PageToken *device.PagerCursor `` /* 133-byte string literal not displayed */
	// Order By -
	// https://cloud.google.com/apis/design/design_patterns#list_pagination list
	// of field path with order directive, either 'asc' or 'desc'. If direction is
	// not provided, 'asc' is assumed. e.g. "state.nested_field asc,
	// state.something.else desc, theme"
	OrderBy *device.OrderBy `protobuf:"bytes,4,opt,customtype=OrderBy,name=order_by,json=orderBy,proto3" json:"order_by,omitempty" firestore:"orderBy"`
	// Filter - filter results by field criteria. Simplified SQL-like syntax with
	// following operators:
	// <=, >=, =, !=, <, >, LIKE, CONTAINS (aliases CONTAIN, HAS, HAVE), IN, IS
	// [NOT] NULL | NaN . Combine conditions with OR | AND example: 'meta.labels
	// CONTAINS "severity:important" OR (state.last_error_time >
	// "2018-11-15T10:00:00Z" AND state.status = "ERROR")'
	Filter *device.Filter `protobuf:"bytes,5,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty" firestore:"filter"`
	// A list of extra fields to be requested on top of those defined by request
	// field View.
	FieldMask *device.Device_FieldMask `` /* 138-byte string literal not displayed */
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask
	View view.View `protobuf:"varint,7,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// contains filtered or unexported fields
}

Request message for method [ListPublicDevices][ntt.devices.v1.ListPublicDevices]

func (*ListPublicDevicesRequest) Descriptor

func (*ListPublicDevicesRequest) Descriptor() ([]byte, []int)

Deprecated, Use ListPublicDevicesRequest.ProtoReflect.Descriptor instead.

func (*ListPublicDevicesRequest) GetFieldMask

func (*ListPublicDevicesRequest) GetFilter

func (m *ListPublicDevicesRequest) GetFilter() *device.Filter

func (*ListPublicDevicesRequest) GetOrderBy

func (m *ListPublicDevicesRequest) GetOrderBy() *device.OrderBy

func (*ListPublicDevicesRequest) GetPageSize

func (m *ListPublicDevicesRequest) GetPageSize() int32

func (*ListPublicDevicesRequest) GetPageToken

func (m *ListPublicDevicesRequest) GetPageToken() *device.PagerCursor

func (*ListPublicDevicesRequest) GetParent

func (m *ListPublicDevicesRequest) GetParent() *device.ParentName

func (*ListPublicDevicesRequest) GetView

func (m *ListPublicDevicesRequest) GetView() view.View

func (*ListPublicDevicesRequest) GotenMessage

func (*ListPublicDevicesRequest) GotenMessage()

func (*ListPublicDevicesRequest) GotenValidate

func (obj *ListPublicDevicesRequest) GotenValidate() error

func (*ListPublicDevicesRequest) Marshal

func (m *ListPublicDevicesRequest) Marshal() ([]byte, error)

func (*ListPublicDevicesRequest) MarshalJSON

func (m *ListPublicDevicesRequest) MarshalJSON() ([]byte, error)

func (*ListPublicDevicesRequest) ProtoMessage

func (*ListPublicDevicesRequest) ProtoMessage()

func (*ListPublicDevicesRequest) ProtoReflect

func (m *ListPublicDevicesRequest) ProtoReflect() preflect.Message

func (*ListPublicDevicesRequest) Reset

func (m *ListPublicDevicesRequest) Reset()

func (*ListPublicDevicesRequest) SetFieldMask

func (m *ListPublicDevicesRequest) SetFieldMask(fv *device.Device_FieldMask)

func (*ListPublicDevicesRequest) SetFilter

func (m *ListPublicDevicesRequest) SetFilter(fv *device.Filter)

func (*ListPublicDevicesRequest) SetOrderBy

func (m *ListPublicDevicesRequest) SetOrderBy(fv *device.OrderBy)

func (*ListPublicDevicesRequest) SetPageSize

func (m *ListPublicDevicesRequest) SetPageSize(fv int32)

func (*ListPublicDevicesRequest) SetPageToken

func (m *ListPublicDevicesRequest) SetPageToken(fv *device.PagerCursor)

func (*ListPublicDevicesRequest) SetParent

func (m *ListPublicDevicesRequest) SetParent(fv *device.ParentName)

func (*ListPublicDevicesRequest) SetView

func (m *ListPublicDevicesRequest) SetView(fv view.View)

func (*ListPublicDevicesRequest) String

func (m *ListPublicDevicesRequest) String() string

func (*ListPublicDevicesRequest) Unmarshal

func (m *ListPublicDevicesRequest) Unmarshal(b []byte) error

func (*ListPublicDevicesRequest) UnmarshalJSON

func (m *ListPublicDevicesRequest) UnmarshalJSON(data []byte) error

type ListPublicDevicesResponse

type ListPublicDevicesResponse struct {

	// The list of Devices
	Devices []*device.Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty" firestore:"devices"`
	// A token to retrieve previous page of results. Pass this value in the
	// [ListDevicesRequest.page_token][ntt.devices.v1.ListDevicesRequest.page_token]
	PrevPageToken *device.PagerCursor `` /* 151-byte string literal not displayed */
	// A token to retrieve next page of results. Pass this value in the
	// [ListDevicesRequest.page_token][ntt.devices.v1.ListDevicesRequest.page_token]
	NextPageToken *device.PagerCursor `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

Response message for method [ListPublicDevices][ntt.devices.v1.ListPublicDevices]

func (*ListPublicDevicesResponse) Descriptor

func (*ListPublicDevicesResponse) Descriptor() ([]byte, []int)

Deprecated, Use ListPublicDevicesResponse.ProtoReflect.Descriptor instead.

func (*ListPublicDevicesResponse) GetDevices

func (m *ListPublicDevicesResponse) GetDevices() []*device.Device

func (*ListPublicDevicesResponse) GetNextPageToken

func (m *ListPublicDevicesResponse) GetNextPageToken() *device.PagerCursor

func (*ListPublicDevicesResponse) GetPrevPageToken

func (m *ListPublicDevicesResponse) GetPrevPageToken() *device.PagerCursor

func (*ListPublicDevicesResponse) GotenMessage

func (*ListPublicDevicesResponse) GotenMessage()

func (*ListPublicDevicesResponse) GotenValidate

func (obj *ListPublicDevicesResponse) GotenValidate() error

func (*ListPublicDevicesResponse) Marshal

func (m *ListPublicDevicesResponse) Marshal() ([]byte, error)

func (*ListPublicDevicesResponse) MarshalJSON

func (m *ListPublicDevicesResponse) MarshalJSON() ([]byte, error)

func (*ListPublicDevicesResponse) ProtoMessage

func (*ListPublicDevicesResponse) ProtoMessage()

func (*ListPublicDevicesResponse) ProtoReflect

func (m *ListPublicDevicesResponse) ProtoReflect() preflect.Message

func (*ListPublicDevicesResponse) Reset

func (m *ListPublicDevicesResponse) Reset()

func (*ListPublicDevicesResponse) SetDevices

func (m *ListPublicDevicesResponse) SetDevices(fv []*device.Device)

func (*ListPublicDevicesResponse) SetNextPageToken

func (m *ListPublicDevicesResponse) SetNextPageToken(fv *device.PagerCursor)

func (*ListPublicDevicesResponse) SetPrevPageToken

func (m *ListPublicDevicesResponse) SetPrevPageToken(fv *device.PagerCursor)

func (*ListPublicDevicesResponse) String

func (m *ListPublicDevicesResponse) String() string

func (*ListPublicDevicesResponse) Unmarshal

func (m *ListPublicDevicesResponse) Unmarshal(b []byte) error

func (*ListPublicDevicesResponse) UnmarshalJSON

func (m *ListPublicDevicesResponse) UnmarshalJSON(data []byte) error

type PublicServiceClient

type PublicServiceClient interface {
	ListPublicDevices(ctx context.Context, in *ListPublicDevicesRequest, opts ...grpc.CallOption) (*ListPublicDevicesResponse, error)
}

PublicServiceClient is the client API for PublicService.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type PublicServiceDescriptor

type PublicServiceDescriptor struct{}

func GetPublicServiceDescriptor

func GetPublicServiceDescriptor() *PublicServiceDescriptor

func (*PublicServiceDescriptor) AllMethodDescriptors

func (d *PublicServiceDescriptor) AllMethodDescriptors() []gotenclient.MethodDescriptor

func (*PublicServiceDescriptor) GetApiName

func (d *PublicServiceDescriptor) GetApiName() string

func (*PublicServiceDescriptor) GetFullAPIName

func (d *PublicServiceDescriptor) GetFullAPIName() string

func (*PublicServiceDescriptor) GetProtoPkgName

func (d *PublicServiceDescriptor) GetProtoPkgName() string

func (*PublicServiceDescriptor) GetServiceDomain

func (d *PublicServiceDescriptor) GetServiceDomain() string

func (*PublicServiceDescriptor) GetServiceVersion

func (d *PublicServiceDescriptor) GetServiceVersion() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL