public_client

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 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 added in v0.4.28

type ListPublicDevicesDescriptor struct{}

func GetListPublicDevicesDescriptor added in v0.4.28

func GetListPublicDevicesDescriptor() *ListPublicDevicesDescriptor

func (*ListPublicDevicesDescriptor) GetApiDescriptor added in v0.4.28

func (*ListPublicDevicesDescriptor) GetApiName added in v0.4.28

func (d *ListPublicDevicesDescriptor) GetApiName() string

func (*ListPublicDevicesDescriptor) GetClientMsgReflectHandle added in v0.4.28

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

func (*ListPublicDevicesDescriptor) GetFullMethodName added in v0.4.28

func (d *ListPublicDevicesDescriptor) GetFullMethodName() string

func (*ListPublicDevicesDescriptor) GetMethodName added in v0.4.28

func (d *ListPublicDevicesDescriptor) GetMethodName() string

func (*ListPublicDevicesDescriptor) GetProtoPkgName added in v0.4.28

func (d *ListPublicDevicesDescriptor) GetProtoPkgName() string

func (*ListPublicDevicesDescriptor) GetResourceDescriptor added in v0.4.30

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

func (*ListPublicDevicesDescriptor) GetServerMsgReflectHandle added in v0.4.28

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

func (*ListPublicDevicesDescriptor) GetServiceDomain added in v0.4.28

func (d *ListPublicDevicesDescriptor) GetServiceDomain() string

func (*ListPublicDevicesDescriptor) GetServiceVersion added in v0.4.28

func (d *ListPublicDevicesDescriptor) GetServiceVersion() string

func (*ListPublicDevicesDescriptor) GetVerb added in v0.4.28

func (d *ListPublicDevicesDescriptor) GetVerb() string

func (*ListPublicDevicesDescriptor) HasResource added in v0.4.30

func (d *ListPublicDevicesDescriptor) HasResource() bool

func (*ListPublicDevicesDescriptor) IsClientStream added in v0.4.28

func (d *ListPublicDevicesDescriptor) IsClientStream() bool

func (*ListPublicDevicesDescriptor) IsCollection added in v0.4.30

func (d *ListPublicDevicesDescriptor) IsCollection() bool

func (*ListPublicDevicesDescriptor) IsPlural added in v0.4.30

func (d *ListPublicDevicesDescriptor) IsPlural() bool

func (*ListPublicDevicesDescriptor) IsServerStream added in v0.4.28

func (d *ListPublicDevicesDescriptor) IsServerStream() bool

func (*ListPublicDevicesDescriptor) IsUnary added in v0.4.28

func (d *ListPublicDevicesDescriptor) IsUnary() bool

func (*ListPublicDevicesDescriptor) NewEmptyClientMsg added in v0.4.28

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

func (*ListPublicDevicesDescriptor) NewEmptyServerMsg added in v0.4.28

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

func (*ListPublicDevicesDescriptor) RequestHasResourceBody added in v0.4.28

func (d *ListPublicDevicesDescriptor) RequestHasResourceBody() bool

type ListPublicDevicesDescriptorClientMsgHandle added in v0.4.28

type ListPublicDevicesDescriptorClientMsgHandle struct{}

func (*ListPublicDevicesDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*ListPublicDevicesDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*ListPublicDevicesDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*ListPublicDevicesDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*ListPublicDevicesDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type ListPublicDevicesDescriptorServerMsgHandle added in v0.4.28

type ListPublicDevicesDescriptorServerMsgHandle struct{}

func (*ListPublicDevicesDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*ListPublicDevicesDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*ListPublicDevicesDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*ListPublicDevicesDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*ListPublicDevicesDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type ListPublicDevicesRequest

type ListPublicDevicesRequest struct {

	// Name of Device parent
	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.v1alpha2.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.v1alpha2.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.v1alpha2.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.v1alpha2.ListDevicesRequest.page_token]
	NextPageToken *device.PagerCursor `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

Response message for method [ListPublicDevices][ntt.devices.v1alpha2.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 added in v0.4.28

type PublicServiceDescriptor struct{}

func GetPublicServiceDescriptor added in v0.4.28

func GetPublicServiceDescriptor() *PublicServiceDescriptor

func (*PublicServiceDescriptor) AllMethodDescriptors added in v0.4.28

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

func (*PublicServiceDescriptor) GetApiName added in v0.4.28

func (d *PublicServiceDescriptor) GetApiName() string

func (*PublicServiceDescriptor) GetFullAPIName added in v0.4.28

func (d *PublicServiceDescriptor) GetFullAPIName() string

func (*PublicServiceDescriptor) GetProtoPkgName added in v0.4.28

func (d *PublicServiceDescriptor) GetProtoPkgName() string

func (*PublicServiceDescriptor) GetServiceDomain added in v0.4.28

func (d *PublicServiceDescriptor) GetServiceDomain() string

func (*PublicServiceDescriptor) GetServiceVersion added in v0.4.28

func (d *PublicServiceDescriptor) GetServiceVersion() string

Jump to

Keyboard shortcuts

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