device_type_client

package
v1.0.47 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchGetDeviceTypesDescriptor

type BatchGetDeviceTypesDescriptor struct{}

func GetBatchGetDeviceTypesDescriptor

func GetBatchGetDeviceTypesDescriptor() *BatchGetDeviceTypesDescriptor

func (*BatchGetDeviceTypesDescriptor) GetApiDescriptor

func (*BatchGetDeviceTypesDescriptor) GetApiName

func (d *BatchGetDeviceTypesDescriptor) GetApiName() string

func (*BatchGetDeviceTypesDescriptor) GetClientMsgReflectHandle

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

func (*BatchGetDeviceTypesDescriptor) GetFullMethodName

func (d *BatchGetDeviceTypesDescriptor) GetFullMethodName() string

func (*BatchGetDeviceTypesDescriptor) GetMethodName

func (d *BatchGetDeviceTypesDescriptor) GetMethodName() string

func (*BatchGetDeviceTypesDescriptor) GetProtoPkgName

func (d *BatchGetDeviceTypesDescriptor) GetProtoPkgName() string

func (*BatchGetDeviceTypesDescriptor) GetResourceDescriptor

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

func (*BatchGetDeviceTypesDescriptor) GetServerMsgReflectHandle

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

func (*BatchGetDeviceTypesDescriptor) GetServiceDomain

func (d *BatchGetDeviceTypesDescriptor) GetServiceDomain() string

func (*BatchGetDeviceTypesDescriptor) GetServiceVersion

func (d *BatchGetDeviceTypesDescriptor) GetServiceVersion() string

func (*BatchGetDeviceTypesDescriptor) GetVerb

func (*BatchGetDeviceTypesDescriptor) HasResource

func (d *BatchGetDeviceTypesDescriptor) HasResource() bool

func (*BatchGetDeviceTypesDescriptor) IsClientStream

func (d *BatchGetDeviceTypesDescriptor) IsClientStream() bool

func (*BatchGetDeviceTypesDescriptor) IsCollection

func (d *BatchGetDeviceTypesDescriptor) IsCollection() bool

func (*BatchGetDeviceTypesDescriptor) IsPlural

func (d *BatchGetDeviceTypesDescriptor) IsPlural() bool

func (*BatchGetDeviceTypesDescriptor) IsServerStream

func (d *BatchGetDeviceTypesDescriptor) IsServerStream() bool

func (*BatchGetDeviceTypesDescriptor) IsUnary

func (d *BatchGetDeviceTypesDescriptor) IsUnary() bool

func (*BatchGetDeviceTypesDescriptor) NewEmptyClientMsg

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

func (*BatchGetDeviceTypesDescriptor) NewEmptyServerMsg

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

func (*BatchGetDeviceTypesDescriptor) RequestHasResourceBody

func (d *BatchGetDeviceTypesDescriptor) RequestHasResourceBody() bool

type BatchGetDeviceTypesDescriptorClientMsgHandle

type BatchGetDeviceTypesDescriptorClientMsgHandle struct{}

func (*BatchGetDeviceTypesDescriptorClientMsgHandle) ExtractCollectionName

func (*BatchGetDeviceTypesDescriptorClientMsgHandle) ExtractResourceBodies

func (*BatchGetDeviceTypesDescriptorClientMsgHandle) ExtractResourceBody

func (*BatchGetDeviceTypesDescriptorClientMsgHandle) ExtractResourceName

func (*BatchGetDeviceTypesDescriptorClientMsgHandle) ExtractResourceNames

type BatchGetDeviceTypesDescriptorServerMsgHandle

type BatchGetDeviceTypesDescriptorServerMsgHandle struct{}

func (*BatchGetDeviceTypesDescriptorServerMsgHandle) ExtractCollectionName

func (*BatchGetDeviceTypesDescriptorServerMsgHandle) ExtractResourceBodies

func (*BatchGetDeviceTypesDescriptorServerMsgHandle) ExtractResourceBody

func (*BatchGetDeviceTypesDescriptorServerMsgHandle) ExtractResourceName

func (*BatchGetDeviceTypesDescriptorServerMsgHandle) ExtractResourceNames

type BatchGetDeviceTypesRequest

type BatchGetDeviceTypesRequest struct {

	// Names of DeviceTypes
	Names []*device_type.Name `protobuf:"bytes,2,rep,customtype=Name,name=names,proto3" json:"names,omitempty" firestore:"names"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *device_type.DeviceType_FieldMask `` /* 142-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,4,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// contains filtered or unexported fields
}

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

func (*BatchGetDeviceTypesRequest) Descriptor

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

Deprecated, Use BatchGetDeviceTypesRequest.ProtoReflect.Descriptor instead.

func (*BatchGetDeviceTypesRequest) GetFieldMask

func (*BatchGetDeviceTypesRequest) GetNames

func (m *BatchGetDeviceTypesRequest) GetNames() []*device_type.Name

func (*BatchGetDeviceTypesRequest) GetView

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

func (*BatchGetDeviceTypesRequest) GotenMessage

func (*BatchGetDeviceTypesRequest) GotenMessage()

func (*BatchGetDeviceTypesRequest) GotenValidate

func (obj *BatchGetDeviceTypesRequest) GotenValidate() error

func (*BatchGetDeviceTypesRequest) Marshal

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

func (*BatchGetDeviceTypesRequest) MarshalJSON

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

func (*BatchGetDeviceTypesRequest) ProtoMessage

func (*BatchGetDeviceTypesRequest) ProtoMessage()

func (*BatchGetDeviceTypesRequest) ProtoReflect

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

func (*BatchGetDeviceTypesRequest) Reset

func (m *BatchGetDeviceTypesRequest) Reset()

func (*BatchGetDeviceTypesRequest) SetFieldMask

func (*BatchGetDeviceTypesRequest) SetNames

func (m *BatchGetDeviceTypesRequest) SetNames(fv []*device_type.Name)

func (*BatchGetDeviceTypesRequest) SetView

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

func (*BatchGetDeviceTypesRequest) String

func (m *BatchGetDeviceTypesRequest) String() string

func (*BatchGetDeviceTypesRequest) Unmarshal

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

func (*BatchGetDeviceTypesRequest) UnmarshalJSON

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

type BatchGetDeviceTypesResponse

type BatchGetDeviceTypesResponse struct {

	// found DeviceTypes
	DeviceTypes []*device_type.DeviceType `protobuf:"bytes,1,rep,name=device_types,json=deviceTypes,proto3" json:"device_types,omitempty" firestore:"deviceTypes"`
	// list of not found DeviceTypes
	Missing []*device_type.Name `protobuf:"bytes,2,rep,customtype=Name,name=missing,proto3" json:"missing,omitempty" firestore:"missing"`
	// contains filtered or unexported fields
}

BatchGetDeviceTypesResponse

func (*BatchGetDeviceTypesResponse) Descriptor

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

Deprecated, Use BatchGetDeviceTypesResponse.ProtoReflect.Descriptor instead.

func (*BatchGetDeviceTypesResponse) GetDeviceTypes

func (m *BatchGetDeviceTypesResponse) GetDeviceTypes() []*device_type.DeviceType

func (*BatchGetDeviceTypesResponse) GetMissing

func (m *BatchGetDeviceTypesResponse) GetMissing() []*device_type.Name

func (*BatchGetDeviceTypesResponse) GotenMessage

func (*BatchGetDeviceTypesResponse) GotenMessage()

func (*BatchGetDeviceTypesResponse) GotenValidate

func (obj *BatchGetDeviceTypesResponse) GotenValidate() error

func (*BatchGetDeviceTypesResponse) Marshal

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

func (*BatchGetDeviceTypesResponse) MarshalJSON

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

func (*BatchGetDeviceTypesResponse) ProtoMessage

func (*BatchGetDeviceTypesResponse) ProtoMessage()

func (*BatchGetDeviceTypesResponse) ProtoReflect

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

func (*BatchGetDeviceTypesResponse) Reset

func (m *BatchGetDeviceTypesResponse) Reset()

func (*BatchGetDeviceTypesResponse) SetDeviceTypes

func (m *BatchGetDeviceTypesResponse) SetDeviceTypes(fv []*device_type.DeviceType)

func (*BatchGetDeviceTypesResponse) SetMissing

func (m *BatchGetDeviceTypesResponse) SetMissing(fv []*device_type.Name)

func (*BatchGetDeviceTypesResponse) String

func (m *BatchGetDeviceTypesResponse) String() string

func (*BatchGetDeviceTypesResponse) Unmarshal

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

func (*BatchGetDeviceTypesResponse) UnmarshalJSON

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

type CreateDeviceTypeDescriptor

type CreateDeviceTypeDescriptor struct{}

func GetCreateDeviceTypeDescriptor

func GetCreateDeviceTypeDescriptor() *CreateDeviceTypeDescriptor

func (*CreateDeviceTypeDescriptor) GetApiDescriptor

func (*CreateDeviceTypeDescriptor) GetApiName

func (d *CreateDeviceTypeDescriptor) GetApiName() string

func (*CreateDeviceTypeDescriptor) GetClientMsgReflectHandle

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

func (*CreateDeviceTypeDescriptor) GetFullMethodName

func (d *CreateDeviceTypeDescriptor) GetFullMethodName() string

func (*CreateDeviceTypeDescriptor) GetMethodName

func (d *CreateDeviceTypeDescriptor) GetMethodName() string

func (*CreateDeviceTypeDescriptor) GetProtoPkgName

func (d *CreateDeviceTypeDescriptor) GetProtoPkgName() string

func (*CreateDeviceTypeDescriptor) GetResourceDescriptor

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

func (*CreateDeviceTypeDescriptor) GetServerMsgReflectHandle

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

func (*CreateDeviceTypeDescriptor) GetServiceDomain

func (d *CreateDeviceTypeDescriptor) GetServiceDomain() string

func (*CreateDeviceTypeDescriptor) GetServiceVersion

func (d *CreateDeviceTypeDescriptor) GetServiceVersion() string

func (*CreateDeviceTypeDescriptor) GetVerb

func (d *CreateDeviceTypeDescriptor) GetVerb() string

func (*CreateDeviceTypeDescriptor) HasResource

func (d *CreateDeviceTypeDescriptor) HasResource() bool

func (*CreateDeviceTypeDescriptor) IsClientStream

func (d *CreateDeviceTypeDescriptor) IsClientStream() bool

func (*CreateDeviceTypeDescriptor) IsCollection

func (d *CreateDeviceTypeDescriptor) IsCollection() bool

func (*CreateDeviceTypeDescriptor) IsPlural

func (d *CreateDeviceTypeDescriptor) IsPlural() bool

func (*CreateDeviceTypeDescriptor) IsServerStream

func (d *CreateDeviceTypeDescriptor) IsServerStream() bool

func (*CreateDeviceTypeDescriptor) IsUnary

func (d *CreateDeviceTypeDescriptor) IsUnary() bool

func (*CreateDeviceTypeDescriptor) NewEmptyClientMsg

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

func (*CreateDeviceTypeDescriptor) NewEmptyServerMsg

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

func (*CreateDeviceTypeDescriptor) RequestHasResourceBody

func (d *CreateDeviceTypeDescriptor) RequestHasResourceBody() bool

type CreateDeviceTypeDescriptorClientMsgHandle

type CreateDeviceTypeDescriptorClientMsgHandle struct{}

func (*CreateDeviceTypeDescriptorClientMsgHandle) ExtractCollectionName

func (*CreateDeviceTypeDescriptorClientMsgHandle) ExtractResourceBodies

func (*CreateDeviceTypeDescriptorClientMsgHandle) ExtractResourceBody

func (*CreateDeviceTypeDescriptorClientMsgHandle) ExtractResourceName

func (*CreateDeviceTypeDescriptorClientMsgHandle) ExtractResourceNames

type CreateDeviceTypeDescriptorServerMsgHandle

type CreateDeviceTypeDescriptorServerMsgHandle struct{}

func (*CreateDeviceTypeDescriptorServerMsgHandle) ExtractCollectionName

func (*CreateDeviceTypeDescriptorServerMsgHandle) ExtractResourceBodies

func (*CreateDeviceTypeDescriptorServerMsgHandle) ExtractResourceBody

func (*CreateDeviceTypeDescriptorServerMsgHandle) ExtractResourceName

func (*CreateDeviceTypeDescriptorServerMsgHandle) ExtractResourceNames

type CreateDeviceTypeRequest

type CreateDeviceTypeRequest struct {

	// DeviceType resource body
	DeviceType *device_type.DeviceType `protobuf:"bytes,2,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty" firestore:"deviceType"`
	// contains filtered or unexported fields
}

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

func (*CreateDeviceTypeRequest) Descriptor

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

Deprecated, Use CreateDeviceTypeRequest.ProtoReflect.Descriptor instead.

func (*CreateDeviceTypeRequest) GetDeviceType

func (m *CreateDeviceTypeRequest) GetDeviceType() *device_type.DeviceType

func (*CreateDeviceTypeRequest) GotenMessage

func (*CreateDeviceTypeRequest) GotenMessage()

func (*CreateDeviceTypeRequest) GotenValidate

func (obj *CreateDeviceTypeRequest) GotenValidate() error

func (*CreateDeviceTypeRequest) Marshal

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

func (*CreateDeviceTypeRequest) MarshalJSON

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

func (*CreateDeviceTypeRequest) ProtoMessage

func (*CreateDeviceTypeRequest) ProtoMessage()

func (*CreateDeviceTypeRequest) ProtoReflect

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

func (*CreateDeviceTypeRequest) Reset

func (m *CreateDeviceTypeRequest) Reset()

func (*CreateDeviceTypeRequest) SetDeviceType

func (m *CreateDeviceTypeRequest) SetDeviceType(fv *device_type.DeviceType)

func (*CreateDeviceTypeRequest) String

func (m *CreateDeviceTypeRequest) String() string

func (*CreateDeviceTypeRequest) Unmarshal

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

func (*CreateDeviceTypeRequest) UnmarshalJSON

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

type DeleteDeviceTypeDescriptor

type DeleteDeviceTypeDescriptor struct{}

func GetDeleteDeviceTypeDescriptor

func GetDeleteDeviceTypeDescriptor() *DeleteDeviceTypeDescriptor

func (*DeleteDeviceTypeDescriptor) GetApiDescriptor

func (*DeleteDeviceTypeDescriptor) GetApiName

func (d *DeleteDeviceTypeDescriptor) GetApiName() string

func (*DeleteDeviceTypeDescriptor) GetClientMsgReflectHandle

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

func (*DeleteDeviceTypeDescriptor) GetFullMethodName

func (d *DeleteDeviceTypeDescriptor) GetFullMethodName() string

func (*DeleteDeviceTypeDescriptor) GetMethodName

func (d *DeleteDeviceTypeDescriptor) GetMethodName() string

func (*DeleteDeviceTypeDescriptor) GetProtoPkgName

func (d *DeleteDeviceTypeDescriptor) GetProtoPkgName() string

func (*DeleteDeviceTypeDescriptor) GetResourceDescriptor

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

func (*DeleteDeviceTypeDescriptor) GetServerMsgReflectHandle

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

func (*DeleteDeviceTypeDescriptor) GetServiceDomain

func (d *DeleteDeviceTypeDescriptor) GetServiceDomain() string

func (*DeleteDeviceTypeDescriptor) GetServiceVersion

func (d *DeleteDeviceTypeDescriptor) GetServiceVersion() string

func (*DeleteDeviceTypeDescriptor) GetVerb

func (d *DeleteDeviceTypeDescriptor) GetVerb() string

func (*DeleteDeviceTypeDescriptor) HasResource

func (d *DeleteDeviceTypeDescriptor) HasResource() bool

func (*DeleteDeviceTypeDescriptor) IsClientStream

func (d *DeleteDeviceTypeDescriptor) IsClientStream() bool

func (*DeleteDeviceTypeDescriptor) IsCollection

func (d *DeleteDeviceTypeDescriptor) IsCollection() bool

func (*DeleteDeviceTypeDescriptor) IsPlural

func (d *DeleteDeviceTypeDescriptor) IsPlural() bool

func (*DeleteDeviceTypeDescriptor) IsServerStream

func (d *DeleteDeviceTypeDescriptor) IsServerStream() bool

func (*DeleteDeviceTypeDescriptor) IsUnary

func (d *DeleteDeviceTypeDescriptor) IsUnary() bool

func (*DeleteDeviceTypeDescriptor) NewEmptyClientMsg

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

func (*DeleteDeviceTypeDescriptor) NewEmptyServerMsg

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

func (*DeleteDeviceTypeDescriptor) RequestHasResourceBody

func (d *DeleteDeviceTypeDescriptor) RequestHasResourceBody() bool

type DeleteDeviceTypeDescriptorClientMsgHandle

type DeleteDeviceTypeDescriptorClientMsgHandle struct{}

func (*DeleteDeviceTypeDescriptorClientMsgHandle) ExtractCollectionName

func (*DeleteDeviceTypeDescriptorClientMsgHandle) ExtractResourceBodies

func (*DeleteDeviceTypeDescriptorClientMsgHandle) ExtractResourceBody

func (*DeleteDeviceTypeDescriptorClientMsgHandle) ExtractResourceName

func (*DeleteDeviceTypeDescriptorClientMsgHandle) ExtractResourceNames

type DeleteDeviceTypeDescriptorServerMsgHandle

type DeleteDeviceTypeDescriptorServerMsgHandle struct{}

func (*DeleteDeviceTypeDescriptorServerMsgHandle) ExtractCollectionName

func (*DeleteDeviceTypeDescriptorServerMsgHandle) ExtractResourceBodies

func (*DeleteDeviceTypeDescriptorServerMsgHandle) ExtractResourceBody

func (*DeleteDeviceTypeDescriptorServerMsgHandle) ExtractResourceName

func (*DeleteDeviceTypeDescriptorServerMsgHandle) ExtractResourceNames

type DeleteDeviceTypeRequest

type DeleteDeviceTypeRequest struct {

	// Name of ntt.devices.v1.DeviceType
	Name *device_type.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// contains filtered or unexported fields
}

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

func (*DeleteDeviceTypeRequest) Descriptor

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

Deprecated, Use DeleteDeviceTypeRequest.ProtoReflect.Descriptor instead.

func (*DeleteDeviceTypeRequest) GetName

func (*DeleteDeviceTypeRequest) GotenMessage

func (*DeleteDeviceTypeRequest) GotenMessage()

func (*DeleteDeviceTypeRequest) GotenValidate

func (obj *DeleteDeviceTypeRequest) GotenValidate() error

func (*DeleteDeviceTypeRequest) Marshal

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

func (*DeleteDeviceTypeRequest) MarshalJSON

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

func (*DeleteDeviceTypeRequest) ProtoMessage

func (*DeleteDeviceTypeRequest) ProtoMessage()

func (*DeleteDeviceTypeRequest) ProtoReflect

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

func (*DeleteDeviceTypeRequest) Reset

func (m *DeleteDeviceTypeRequest) Reset()

func (*DeleteDeviceTypeRequest) SetName

func (m *DeleteDeviceTypeRequest) SetName(fv *device_type.Name)

func (*DeleteDeviceTypeRequest) String

func (m *DeleteDeviceTypeRequest) String() string

func (*DeleteDeviceTypeRequest) Unmarshal

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

func (*DeleteDeviceTypeRequest) UnmarshalJSON

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

type DeviceTypeServiceClient

type DeviceTypeServiceClient interface {
	GetDeviceType(ctx context.Context, in *GetDeviceTypeRequest, opts ...grpc.CallOption) (*device_type.DeviceType, error)
	BatchGetDeviceTypes(ctx context.Context, in *BatchGetDeviceTypesRequest, opts ...grpc.CallOption) (*BatchGetDeviceTypesResponse, error)
	ListDeviceTypes(ctx context.Context, in *ListDeviceTypesRequest, opts ...grpc.CallOption) (*ListDeviceTypesResponse, error)
	WatchDeviceType(ctx context.Context, in *WatchDeviceTypeRequest, opts ...grpc.CallOption) (WatchDeviceTypeClientStream, error)
	WatchDeviceTypes(ctx context.Context, in *WatchDeviceTypesRequest, opts ...grpc.CallOption) (WatchDeviceTypesClientStream, error)
	CreateDeviceType(ctx context.Context, in *CreateDeviceTypeRequest, opts ...grpc.CallOption) (*device_type.DeviceType, error)
	UpdateDeviceType(ctx context.Context, in *UpdateDeviceTypeRequest, opts ...grpc.CallOption) (*device_type.DeviceType, error)
	DeleteDeviceType(ctx context.Context, in *DeleteDeviceTypeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

DeviceTypeServiceClient is the client API for DeviceTypeService.

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

type DeviceTypeServiceDescriptor

type DeviceTypeServiceDescriptor struct{}

func GetDeviceTypeServiceDescriptor

func GetDeviceTypeServiceDescriptor() *DeviceTypeServiceDescriptor

func (*DeviceTypeServiceDescriptor) AllMethodDescriptors

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

func (*DeviceTypeServiceDescriptor) GetApiName

func (d *DeviceTypeServiceDescriptor) GetApiName() string

func (*DeviceTypeServiceDescriptor) GetFullAPIName

func (d *DeviceTypeServiceDescriptor) GetFullAPIName() string

func (*DeviceTypeServiceDescriptor) GetProtoPkgName

func (d *DeviceTypeServiceDescriptor) GetProtoPkgName() string

func (*DeviceTypeServiceDescriptor) GetServiceDomain

func (d *DeviceTypeServiceDescriptor) GetServiceDomain() string

func (*DeviceTypeServiceDescriptor) GetServiceVersion

func (d *DeviceTypeServiceDescriptor) GetServiceVersion() string

type GetDeviceTypeDescriptor

type GetDeviceTypeDescriptor struct{}

func GetGetDeviceTypeDescriptor

func GetGetDeviceTypeDescriptor() *GetDeviceTypeDescriptor

func (*GetDeviceTypeDescriptor) GetApiDescriptor

func (d *GetDeviceTypeDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*GetDeviceTypeDescriptor) GetApiName

func (d *GetDeviceTypeDescriptor) GetApiName() string

func (*GetDeviceTypeDescriptor) GetClientMsgReflectHandle

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

func (*GetDeviceTypeDescriptor) GetFullMethodName

func (d *GetDeviceTypeDescriptor) GetFullMethodName() string

func (*GetDeviceTypeDescriptor) GetMethodName

func (d *GetDeviceTypeDescriptor) GetMethodName() string

func (*GetDeviceTypeDescriptor) GetProtoPkgName

func (d *GetDeviceTypeDescriptor) GetProtoPkgName() string

func (*GetDeviceTypeDescriptor) GetResourceDescriptor

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

func (*GetDeviceTypeDescriptor) GetServerMsgReflectHandle

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

func (*GetDeviceTypeDescriptor) GetServiceDomain

func (d *GetDeviceTypeDescriptor) GetServiceDomain() string

func (*GetDeviceTypeDescriptor) GetServiceVersion

func (d *GetDeviceTypeDescriptor) GetServiceVersion() string

func (*GetDeviceTypeDescriptor) GetVerb

func (d *GetDeviceTypeDescriptor) GetVerb() string

func (*GetDeviceTypeDescriptor) HasResource

func (d *GetDeviceTypeDescriptor) HasResource() bool

func (*GetDeviceTypeDescriptor) IsClientStream

func (d *GetDeviceTypeDescriptor) IsClientStream() bool

func (*GetDeviceTypeDescriptor) IsCollection

func (d *GetDeviceTypeDescriptor) IsCollection() bool

func (*GetDeviceTypeDescriptor) IsPlural

func (d *GetDeviceTypeDescriptor) IsPlural() bool

func (*GetDeviceTypeDescriptor) IsServerStream

func (d *GetDeviceTypeDescriptor) IsServerStream() bool

func (*GetDeviceTypeDescriptor) IsUnary

func (d *GetDeviceTypeDescriptor) IsUnary() bool

func (*GetDeviceTypeDescriptor) NewEmptyClientMsg

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

func (*GetDeviceTypeDescriptor) NewEmptyServerMsg

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

func (*GetDeviceTypeDescriptor) RequestHasResourceBody

func (d *GetDeviceTypeDescriptor) RequestHasResourceBody() bool

type GetDeviceTypeDescriptorClientMsgHandle

type GetDeviceTypeDescriptorClientMsgHandle struct{}

func (*GetDeviceTypeDescriptorClientMsgHandle) ExtractCollectionName

func (*GetDeviceTypeDescriptorClientMsgHandle) ExtractResourceBodies

func (*GetDeviceTypeDescriptorClientMsgHandle) ExtractResourceBody

func (*GetDeviceTypeDescriptorClientMsgHandle) ExtractResourceName

func (*GetDeviceTypeDescriptorClientMsgHandle) ExtractResourceNames

type GetDeviceTypeDescriptorServerMsgHandle

type GetDeviceTypeDescriptorServerMsgHandle struct{}

func (*GetDeviceTypeDescriptorServerMsgHandle) ExtractCollectionName

func (*GetDeviceTypeDescriptorServerMsgHandle) ExtractResourceBodies

func (*GetDeviceTypeDescriptorServerMsgHandle) ExtractResourceBody

func (*GetDeviceTypeDescriptorServerMsgHandle) ExtractResourceName

func (*GetDeviceTypeDescriptorServerMsgHandle) ExtractResourceNames

type GetDeviceTypeRequest

type GetDeviceTypeRequest struct {

	// Name of ntt.devices.v1.DeviceType
	Name *device_type.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *device_type.DeviceType_FieldMask `` /* 142-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,4,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// contains filtered or unexported fields
}

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

func (*GetDeviceTypeRequest) Descriptor

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

Deprecated, Use GetDeviceTypeRequest.ProtoReflect.Descriptor instead.

func (*GetDeviceTypeRequest) GetFieldMask

func (*GetDeviceTypeRequest) GetName

func (m *GetDeviceTypeRequest) GetName() *device_type.Name

func (*GetDeviceTypeRequest) GetView

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

func (*GetDeviceTypeRequest) GotenMessage

func (*GetDeviceTypeRequest) GotenMessage()

func (*GetDeviceTypeRequest) GotenValidate

func (obj *GetDeviceTypeRequest) GotenValidate() error

func (*GetDeviceTypeRequest) Marshal

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

func (*GetDeviceTypeRequest) MarshalJSON

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

func (*GetDeviceTypeRequest) ProtoMessage

func (*GetDeviceTypeRequest) ProtoMessage()

func (*GetDeviceTypeRequest) ProtoReflect

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

func (*GetDeviceTypeRequest) Reset

func (m *GetDeviceTypeRequest) Reset()

func (*GetDeviceTypeRequest) SetFieldMask

func (*GetDeviceTypeRequest) SetName

func (m *GetDeviceTypeRequest) SetName(fv *device_type.Name)

func (*GetDeviceTypeRequest) SetView

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

func (*GetDeviceTypeRequest) String

func (m *GetDeviceTypeRequest) String() string

func (*GetDeviceTypeRequest) Unmarshal

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

func (*GetDeviceTypeRequest) UnmarshalJSON

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

type ListDeviceTypesDescriptor

type ListDeviceTypesDescriptor struct{}

func GetListDeviceTypesDescriptor

func GetListDeviceTypesDescriptor() *ListDeviceTypesDescriptor

func (*ListDeviceTypesDescriptor) GetApiDescriptor

func (d *ListDeviceTypesDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*ListDeviceTypesDescriptor) GetApiName

func (d *ListDeviceTypesDescriptor) GetApiName() string

func (*ListDeviceTypesDescriptor) GetClientMsgReflectHandle

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

func (*ListDeviceTypesDescriptor) GetFullMethodName

func (d *ListDeviceTypesDescriptor) GetFullMethodName() string

func (*ListDeviceTypesDescriptor) GetMethodName

func (d *ListDeviceTypesDescriptor) GetMethodName() string

func (*ListDeviceTypesDescriptor) GetProtoPkgName

func (d *ListDeviceTypesDescriptor) GetProtoPkgName() string

func (*ListDeviceTypesDescriptor) GetResourceDescriptor

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

func (*ListDeviceTypesDescriptor) GetServerMsgReflectHandle

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

func (*ListDeviceTypesDescriptor) GetServiceDomain

func (d *ListDeviceTypesDescriptor) GetServiceDomain() string

func (*ListDeviceTypesDescriptor) GetServiceVersion

func (d *ListDeviceTypesDescriptor) GetServiceVersion() string

func (*ListDeviceTypesDescriptor) GetVerb

func (d *ListDeviceTypesDescriptor) GetVerb() string

func (*ListDeviceTypesDescriptor) HasResource

func (d *ListDeviceTypesDescriptor) HasResource() bool

func (*ListDeviceTypesDescriptor) IsClientStream

func (d *ListDeviceTypesDescriptor) IsClientStream() bool

func (*ListDeviceTypesDescriptor) IsCollection

func (d *ListDeviceTypesDescriptor) IsCollection() bool

func (*ListDeviceTypesDescriptor) IsPlural

func (d *ListDeviceTypesDescriptor) IsPlural() bool

func (*ListDeviceTypesDescriptor) IsServerStream

func (d *ListDeviceTypesDescriptor) IsServerStream() bool

func (*ListDeviceTypesDescriptor) IsUnary

func (d *ListDeviceTypesDescriptor) IsUnary() bool

func (*ListDeviceTypesDescriptor) NewEmptyClientMsg

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

func (*ListDeviceTypesDescriptor) NewEmptyServerMsg

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

func (*ListDeviceTypesDescriptor) RequestHasResourceBody

func (d *ListDeviceTypesDescriptor) RequestHasResourceBody() bool

type ListDeviceTypesDescriptorClientMsgHandle

type ListDeviceTypesDescriptorClientMsgHandle struct{}

func (*ListDeviceTypesDescriptorClientMsgHandle) ExtractCollectionName

func (*ListDeviceTypesDescriptorClientMsgHandle) ExtractResourceBodies

func (*ListDeviceTypesDescriptorClientMsgHandle) ExtractResourceBody

func (*ListDeviceTypesDescriptorClientMsgHandle) ExtractResourceName

func (*ListDeviceTypesDescriptorClientMsgHandle) ExtractResourceNames

type ListDeviceTypesDescriptorServerMsgHandle

type ListDeviceTypesDescriptorServerMsgHandle struct{}

func (*ListDeviceTypesDescriptorServerMsgHandle) ExtractCollectionName

func (*ListDeviceTypesDescriptorServerMsgHandle) ExtractResourceBodies

func (*ListDeviceTypesDescriptorServerMsgHandle) ExtractResourceBody

func (*ListDeviceTypesDescriptorServerMsgHandle) ExtractResourceName

func (*ListDeviceTypesDescriptorServerMsgHandle) ExtractResourceNames

type ListDeviceTypesRequest

type ListDeviceTypesRequest struct {

	// Requested page size. Server may return fewer DeviceTypes 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
	// [ListDeviceTypesResponse.next_page_token][ntt.devices.v1.ListDeviceTypesResponse.next_page_token]
	PageToken *device_type.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_type.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_type.Filter `protobuf:"bytes,5,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty" firestore:"filter"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *device_type.DeviceType_FieldMask `` /* 142-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"`
	// Indicates if list response should contain total count and offset (fields
	// current_offset and total_results_count).
	IncludePagingInfo bool `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*ListDeviceTypesRequest) Descriptor

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

Deprecated, Use ListDeviceTypesRequest.ProtoReflect.Descriptor instead.

func (*ListDeviceTypesRequest) GetFieldMask

func (*ListDeviceTypesRequest) GetFilter

func (m *ListDeviceTypesRequest) GetFilter() *device_type.Filter

func (*ListDeviceTypesRequest) GetIncludePagingInfo

func (m *ListDeviceTypesRequest) GetIncludePagingInfo() bool

func (*ListDeviceTypesRequest) GetOrderBy

func (m *ListDeviceTypesRequest) GetOrderBy() *device_type.OrderBy

func (*ListDeviceTypesRequest) GetPageSize

func (m *ListDeviceTypesRequest) GetPageSize() int32

func (*ListDeviceTypesRequest) GetPageToken

func (m *ListDeviceTypesRequest) GetPageToken() *device_type.PagerCursor

func (*ListDeviceTypesRequest) GetView

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

func (*ListDeviceTypesRequest) GotenMessage

func (*ListDeviceTypesRequest) GotenMessage()

func (*ListDeviceTypesRequest) GotenValidate

func (obj *ListDeviceTypesRequest) GotenValidate() error

func (*ListDeviceTypesRequest) Marshal

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

func (*ListDeviceTypesRequest) MarshalJSON

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

func (*ListDeviceTypesRequest) ProtoMessage

func (*ListDeviceTypesRequest) ProtoMessage()

func (*ListDeviceTypesRequest) ProtoReflect

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

func (*ListDeviceTypesRequest) Reset

func (m *ListDeviceTypesRequest) Reset()

func (*ListDeviceTypesRequest) SetFieldMask

func (*ListDeviceTypesRequest) SetFilter

func (m *ListDeviceTypesRequest) SetFilter(fv *device_type.Filter)

func (*ListDeviceTypesRequest) SetIncludePagingInfo

func (m *ListDeviceTypesRequest) SetIncludePagingInfo(fv bool)

func (*ListDeviceTypesRequest) SetOrderBy

func (m *ListDeviceTypesRequest) SetOrderBy(fv *device_type.OrderBy)

func (*ListDeviceTypesRequest) SetPageSize

func (m *ListDeviceTypesRequest) SetPageSize(fv int32)

func (*ListDeviceTypesRequest) SetPageToken

func (m *ListDeviceTypesRequest) SetPageToken(fv *device_type.PagerCursor)

func (*ListDeviceTypesRequest) SetView

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

func (*ListDeviceTypesRequest) String

func (m *ListDeviceTypesRequest) String() string

func (*ListDeviceTypesRequest) Unmarshal

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

func (*ListDeviceTypesRequest) UnmarshalJSON

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

type ListDeviceTypesResponse

type ListDeviceTypesResponse struct {

	// The list of DeviceTypes
	DeviceTypes []*device_type.DeviceType `protobuf:"bytes,1,rep,name=device_types,json=deviceTypes,proto3" json:"device_types,omitempty" firestore:"deviceTypes"`
	// A token to retrieve previous page of results. Pass this value in the
	// [ListDeviceTypesRequest.page_token][ntt.devices.v1.ListDeviceTypesRequest.page_token]
	PrevPageToken *device_type.PagerCursor `` /* 151-byte string literal not displayed */
	// A token to retrieve next page of results. Pass this value in the
	// [ListDeviceTypesRequest.page_token][ntt.devices.v1.ListDeviceTypesRequest.page_token]
	NextPageToken *device_type.PagerCursor `` /* 151-byte string literal not displayed */
	// Current offset from the first page or 0 if no page tokens were given,
	// paging info was not requested or there was an error while trying to get
	// it). Page index can be computed from offset and limit provided in a
	// request.
	CurrentOffset int32 `` /* 127-byte string literal not displayed */
	// Number of total DeviceTypes across all pages or 0, if there are no items,
	// paging info was not requested or there was an error while trying to get it.
	TotalResultsCount int32 `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*ListDeviceTypesResponse) Descriptor

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

Deprecated, Use ListDeviceTypesResponse.ProtoReflect.Descriptor instead.

func (*ListDeviceTypesResponse) GetCurrentOffset

func (m *ListDeviceTypesResponse) GetCurrentOffset() int32

func (*ListDeviceTypesResponse) GetDeviceTypes

func (m *ListDeviceTypesResponse) GetDeviceTypes() []*device_type.DeviceType

func (*ListDeviceTypesResponse) GetNextPageToken

func (m *ListDeviceTypesResponse) GetNextPageToken() *device_type.PagerCursor

func (*ListDeviceTypesResponse) GetPrevPageToken

func (m *ListDeviceTypesResponse) GetPrevPageToken() *device_type.PagerCursor

func (*ListDeviceTypesResponse) GetTotalResultsCount

func (m *ListDeviceTypesResponse) GetTotalResultsCount() int32

func (*ListDeviceTypesResponse) GotenMessage

func (*ListDeviceTypesResponse) GotenMessage()

func (*ListDeviceTypesResponse) GotenValidate

func (obj *ListDeviceTypesResponse) GotenValidate() error

func (*ListDeviceTypesResponse) Marshal

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

func (*ListDeviceTypesResponse) MarshalJSON

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

func (*ListDeviceTypesResponse) ProtoMessage

func (*ListDeviceTypesResponse) ProtoMessage()

func (*ListDeviceTypesResponse) ProtoReflect

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

func (*ListDeviceTypesResponse) Reset

func (m *ListDeviceTypesResponse) Reset()

func (*ListDeviceTypesResponse) SetCurrentOffset

func (m *ListDeviceTypesResponse) SetCurrentOffset(fv int32)

func (*ListDeviceTypesResponse) SetDeviceTypes

func (m *ListDeviceTypesResponse) SetDeviceTypes(fv []*device_type.DeviceType)

func (*ListDeviceTypesResponse) SetNextPageToken

func (m *ListDeviceTypesResponse) SetNextPageToken(fv *device_type.PagerCursor)

func (*ListDeviceTypesResponse) SetPrevPageToken

func (m *ListDeviceTypesResponse) SetPrevPageToken(fv *device_type.PagerCursor)

func (*ListDeviceTypesResponse) SetTotalResultsCount

func (m *ListDeviceTypesResponse) SetTotalResultsCount(fv int32)

func (*ListDeviceTypesResponse) String

func (m *ListDeviceTypesResponse) String() string

func (*ListDeviceTypesResponse) Unmarshal

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

func (*ListDeviceTypesResponse) UnmarshalJSON

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

type UpdateDeviceTypeDescriptor

type UpdateDeviceTypeDescriptor struct{}

func GetUpdateDeviceTypeDescriptor

func GetUpdateDeviceTypeDescriptor() *UpdateDeviceTypeDescriptor

func (*UpdateDeviceTypeDescriptor) GetApiDescriptor

func (*UpdateDeviceTypeDescriptor) GetApiName

func (d *UpdateDeviceTypeDescriptor) GetApiName() string

func (*UpdateDeviceTypeDescriptor) GetClientMsgReflectHandle

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

func (*UpdateDeviceTypeDescriptor) GetFullMethodName

func (d *UpdateDeviceTypeDescriptor) GetFullMethodName() string

func (*UpdateDeviceTypeDescriptor) GetMethodName

func (d *UpdateDeviceTypeDescriptor) GetMethodName() string

func (*UpdateDeviceTypeDescriptor) GetProtoPkgName

func (d *UpdateDeviceTypeDescriptor) GetProtoPkgName() string

func (*UpdateDeviceTypeDescriptor) GetResourceDescriptor

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

func (*UpdateDeviceTypeDescriptor) GetServerMsgReflectHandle

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

func (*UpdateDeviceTypeDescriptor) GetServiceDomain

func (d *UpdateDeviceTypeDescriptor) GetServiceDomain() string

func (*UpdateDeviceTypeDescriptor) GetServiceVersion

func (d *UpdateDeviceTypeDescriptor) GetServiceVersion() string

func (*UpdateDeviceTypeDescriptor) GetVerb

func (d *UpdateDeviceTypeDescriptor) GetVerb() string

func (*UpdateDeviceTypeDescriptor) HasResource

func (d *UpdateDeviceTypeDescriptor) HasResource() bool

func (*UpdateDeviceTypeDescriptor) IsClientStream

func (d *UpdateDeviceTypeDescriptor) IsClientStream() bool

func (*UpdateDeviceTypeDescriptor) IsCollection

func (d *UpdateDeviceTypeDescriptor) IsCollection() bool

func (*UpdateDeviceTypeDescriptor) IsPlural

func (d *UpdateDeviceTypeDescriptor) IsPlural() bool

func (*UpdateDeviceTypeDescriptor) IsServerStream

func (d *UpdateDeviceTypeDescriptor) IsServerStream() bool

func (*UpdateDeviceTypeDescriptor) IsUnary

func (d *UpdateDeviceTypeDescriptor) IsUnary() bool

func (*UpdateDeviceTypeDescriptor) NewEmptyClientMsg

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

func (*UpdateDeviceTypeDescriptor) NewEmptyServerMsg

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

func (*UpdateDeviceTypeDescriptor) RequestHasResourceBody

func (d *UpdateDeviceTypeDescriptor) RequestHasResourceBody() bool

type UpdateDeviceTypeDescriptorClientMsgHandle

type UpdateDeviceTypeDescriptorClientMsgHandle struct{}

func (*UpdateDeviceTypeDescriptorClientMsgHandle) ExtractCollectionName

func (*UpdateDeviceTypeDescriptorClientMsgHandle) ExtractResourceBodies

func (*UpdateDeviceTypeDescriptorClientMsgHandle) ExtractResourceBody

func (*UpdateDeviceTypeDescriptorClientMsgHandle) ExtractResourceName

func (*UpdateDeviceTypeDescriptorClientMsgHandle) ExtractResourceNames

type UpdateDeviceTypeDescriptorServerMsgHandle

type UpdateDeviceTypeDescriptorServerMsgHandle struct{}

func (*UpdateDeviceTypeDescriptorServerMsgHandle) ExtractCollectionName

func (*UpdateDeviceTypeDescriptorServerMsgHandle) ExtractResourceBodies

func (*UpdateDeviceTypeDescriptorServerMsgHandle) ExtractResourceBody

func (*UpdateDeviceTypeDescriptorServerMsgHandle) ExtractResourceName

func (*UpdateDeviceTypeDescriptorServerMsgHandle) ExtractResourceNames

type UpdateDeviceTypeRequest

type UpdateDeviceTypeRequest struct {

	// DeviceType resource body
	DeviceType *device_type.DeviceType `protobuf:"bytes,2,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty" firestore:"deviceType"`
	// FieldMask applied to request - change will be applied only for fields in
	// the mask
	UpdateMask *device_type.DeviceType_FieldMask `` /* 146-byte string literal not displayed */
	// Conditional update applied to request if update should be executed only for
	// specific resource state. If this field is populated, then server will fetch
	// existing resource, compare with the one stored in the cas field (after
	// applying field mask) and proceed with update only and only if they match.
	// Otherwise RPC error Aborted will be returned.
	Cas *UpdateDeviceTypeRequest_CAS `protobuf:"bytes,4,opt,name=cas,proto3" json:"cas,omitempty" firestore:"cas"`
	// If set to true, and the resource is not found,
	// a new resource will be created.  In this situation,
	// 'field_mask' is ignored.
	//
	// https://google.aip.dev/134#create-or-update
	AllowMissing bool `protobuf:"varint,5,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty" firestore:"allowMissing"`
	// contains filtered or unexported fields
}

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

func (*UpdateDeviceTypeRequest) Descriptor

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

Deprecated, Use UpdateDeviceTypeRequest.ProtoReflect.Descriptor instead.

func (*UpdateDeviceTypeRequest) GetAllowMissing

func (m *UpdateDeviceTypeRequest) GetAllowMissing() bool

func (*UpdateDeviceTypeRequest) GetCas

func (*UpdateDeviceTypeRequest) GetDeviceType

func (m *UpdateDeviceTypeRequest) GetDeviceType() *device_type.DeviceType

func (*UpdateDeviceTypeRequest) GetUpdateMask

func (*UpdateDeviceTypeRequest) GotenMessage

func (*UpdateDeviceTypeRequest) GotenMessage()

func (*UpdateDeviceTypeRequest) GotenValidate

func (obj *UpdateDeviceTypeRequest) GotenValidate() error

func (*UpdateDeviceTypeRequest) Marshal

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

func (*UpdateDeviceTypeRequest) MarshalJSON

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

func (*UpdateDeviceTypeRequest) ProtoMessage

func (*UpdateDeviceTypeRequest) ProtoMessage()

func (*UpdateDeviceTypeRequest) ProtoReflect

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

func (*UpdateDeviceTypeRequest) Reset

func (m *UpdateDeviceTypeRequest) Reset()

func (*UpdateDeviceTypeRequest) SetAllowMissing

func (m *UpdateDeviceTypeRequest) SetAllowMissing(fv bool)

func (*UpdateDeviceTypeRequest) SetCas

func (*UpdateDeviceTypeRequest) SetDeviceType

func (m *UpdateDeviceTypeRequest) SetDeviceType(fv *device_type.DeviceType)

func (*UpdateDeviceTypeRequest) SetUpdateMask

func (*UpdateDeviceTypeRequest) String

func (m *UpdateDeviceTypeRequest) String() string

func (*UpdateDeviceTypeRequest) Unmarshal

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

func (*UpdateDeviceTypeRequest) UnmarshalJSON

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

type UpdateDeviceTypeRequest_CAS

type UpdateDeviceTypeRequest_CAS struct {

	// Conditional desired state of a resource before update.
	ConditionalState *device_type.DeviceType `` /* 138-byte string literal not displayed */
	// Field paths from conditional state of resource server should check and
	// compare.
	FieldMask *device_type.DeviceType_FieldMask `` /* 142-byte string literal not displayed */
	// contains filtered or unexported fields
}

CAS - Compare and Swap. This object is used if user wants to make update conditional based upon previous resource version.

func (*UpdateDeviceTypeRequest_CAS) Descriptor

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

Deprecated, Use UpdateDeviceTypeRequest_CAS.ProtoReflect.Descriptor instead.

func (*UpdateDeviceTypeRequest_CAS) GetConditionalState

func (m *UpdateDeviceTypeRequest_CAS) GetConditionalState() *device_type.DeviceType

func (*UpdateDeviceTypeRequest_CAS) GetFieldMask

func (*UpdateDeviceTypeRequest_CAS) GotenMessage

func (*UpdateDeviceTypeRequest_CAS) GotenMessage()

func (*UpdateDeviceTypeRequest_CAS) GotenValidate

func (obj *UpdateDeviceTypeRequest_CAS) GotenValidate() error

func (*UpdateDeviceTypeRequest_CAS) Marshal

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

func (*UpdateDeviceTypeRequest_CAS) MarshalJSON

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

func (*UpdateDeviceTypeRequest_CAS) ProtoMessage

func (*UpdateDeviceTypeRequest_CAS) ProtoMessage()

func (*UpdateDeviceTypeRequest_CAS) ProtoReflect

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

func (*UpdateDeviceTypeRequest_CAS) Reset

func (m *UpdateDeviceTypeRequest_CAS) Reset()

func (*UpdateDeviceTypeRequest_CAS) SetConditionalState

func (m *UpdateDeviceTypeRequest_CAS) SetConditionalState(fv *device_type.DeviceType)

func (*UpdateDeviceTypeRequest_CAS) SetFieldMask

func (*UpdateDeviceTypeRequest_CAS) String

func (m *UpdateDeviceTypeRequest_CAS) String() string

func (*UpdateDeviceTypeRequest_CAS) Unmarshal

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

func (*UpdateDeviceTypeRequest_CAS) UnmarshalJSON

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

type WatchDeviceTypeClientStream

type WatchDeviceTypeClientStream interface {
	Recv() (*WatchDeviceTypeResponse, error)
	grpc.ClientStream
}

type WatchDeviceTypeDescriptor

type WatchDeviceTypeDescriptor struct{}

func GetWatchDeviceTypeDescriptor

func GetWatchDeviceTypeDescriptor() *WatchDeviceTypeDescriptor

func (*WatchDeviceTypeDescriptor) GetApiDescriptor

func (d *WatchDeviceTypeDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*WatchDeviceTypeDescriptor) GetApiName

func (d *WatchDeviceTypeDescriptor) GetApiName() string

func (*WatchDeviceTypeDescriptor) GetClientMsgReflectHandle

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

func (*WatchDeviceTypeDescriptor) GetFullMethodName

func (d *WatchDeviceTypeDescriptor) GetFullMethodName() string

func (*WatchDeviceTypeDescriptor) GetMethodName

func (d *WatchDeviceTypeDescriptor) GetMethodName() string

func (*WatchDeviceTypeDescriptor) GetProtoPkgName

func (d *WatchDeviceTypeDescriptor) GetProtoPkgName() string

func (*WatchDeviceTypeDescriptor) GetResourceDescriptor

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

func (*WatchDeviceTypeDescriptor) GetServerMsgReflectHandle

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

func (*WatchDeviceTypeDescriptor) GetServiceDomain

func (d *WatchDeviceTypeDescriptor) GetServiceDomain() string

func (*WatchDeviceTypeDescriptor) GetServiceVersion

func (d *WatchDeviceTypeDescriptor) GetServiceVersion() string

func (*WatchDeviceTypeDescriptor) GetVerb

func (d *WatchDeviceTypeDescriptor) GetVerb() string

func (*WatchDeviceTypeDescriptor) HasResource

func (d *WatchDeviceTypeDescriptor) HasResource() bool

func (*WatchDeviceTypeDescriptor) IsClientStream

func (d *WatchDeviceTypeDescriptor) IsClientStream() bool

func (*WatchDeviceTypeDescriptor) IsCollection

func (d *WatchDeviceTypeDescriptor) IsCollection() bool

func (*WatchDeviceTypeDescriptor) IsPlural

func (d *WatchDeviceTypeDescriptor) IsPlural() bool

func (*WatchDeviceTypeDescriptor) IsServerStream

func (d *WatchDeviceTypeDescriptor) IsServerStream() bool

func (*WatchDeviceTypeDescriptor) IsUnary

func (d *WatchDeviceTypeDescriptor) IsUnary() bool

func (*WatchDeviceTypeDescriptor) NewEmptyClientMsg

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

func (*WatchDeviceTypeDescriptor) NewEmptyServerMsg

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

func (*WatchDeviceTypeDescriptor) RequestHasResourceBody

func (d *WatchDeviceTypeDescriptor) RequestHasResourceBody() bool

type WatchDeviceTypeDescriptorClientMsgHandle

type WatchDeviceTypeDescriptorClientMsgHandle struct{}

func (*WatchDeviceTypeDescriptorClientMsgHandle) ExtractCollectionName

func (*WatchDeviceTypeDescriptorClientMsgHandle) ExtractResourceBodies

func (*WatchDeviceTypeDescriptorClientMsgHandle) ExtractResourceBody

func (*WatchDeviceTypeDescriptorClientMsgHandle) ExtractResourceName

func (*WatchDeviceTypeDescriptorClientMsgHandle) ExtractResourceNames

type WatchDeviceTypeDescriptorServerMsgHandle

type WatchDeviceTypeDescriptorServerMsgHandle struct{}

func (*WatchDeviceTypeDescriptorServerMsgHandle) ExtractCollectionName

func (*WatchDeviceTypeDescriptorServerMsgHandle) ExtractResourceBodies

func (*WatchDeviceTypeDescriptorServerMsgHandle) ExtractResourceBody

func (*WatchDeviceTypeDescriptorServerMsgHandle) ExtractResourceName

func (*WatchDeviceTypeDescriptorServerMsgHandle) ExtractResourceNames

type WatchDeviceTypeRequest

type WatchDeviceTypeRequest struct {

	// Name of ntt.devices.v1.DeviceType
	Name *device_type.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *device_type.DeviceType_FieldMask `` /* 142-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,4,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// contains filtered or unexported fields
}

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

func (*WatchDeviceTypeRequest) Descriptor

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

Deprecated, Use WatchDeviceTypeRequest.ProtoReflect.Descriptor instead.

func (*WatchDeviceTypeRequest) GetFieldMask

func (*WatchDeviceTypeRequest) GetName

func (m *WatchDeviceTypeRequest) GetName() *device_type.Name

func (*WatchDeviceTypeRequest) GetView

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

func (*WatchDeviceTypeRequest) GotenMessage

func (*WatchDeviceTypeRequest) GotenMessage()

func (*WatchDeviceTypeRequest) GotenValidate

func (obj *WatchDeviceTypeRequest) GotenValidate() error

func (*WatchDeviceTypeRequest) Marshal

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

func (*WatchDeviceTypeRequest) MarshalJSON

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

func (*WatchDeviceTypeRequest) ProtoMessage

func (*WatchDeviceTypeRequest) ProtoMessage()

func (*WatchDeviceTypeRequest) ProtoReflect

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

func (*WatchDeviceTypeRequest) Reset

func (m *WatchDeviceTypeRequest) Reset()

func (*WatchDeviceTypeRequest) SetFieldMask

func (*WatchDeviceTypeRequest) SetName

func (m *WatchDeviceTypeRequest) SetName(fv *device_type.Name)

func (*WatchDeviceTypeRequest) SetView

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

func (*WatchDeviceTypeRequest) String

func (m *WatchDeviceTypeRequest) String() string

func (*WatchDeviceTypeRequest) Unmarshal

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

func (*WatchDeviceTypeRequest) UnmarshalJSON

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

type WatchDeviceTypeResponse

type WatchDeviceTypeResponse struct {
	Change *device_type.DeviceTypeChange `protobuf:"bytes,1,opt,name=change,proto3" json:"change,omitempty" firestore:"change"`
	// contains filtered or unexported fields
}

WatchDeviceTypeResponse

func (*WatchDeviceTypeResponse) Descriptor

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

Deprecated, Use WatchDeviceTypeResponse.ProtoReflect.Descriptor instead.

func (*WatchDeviceTypeResponse) GetChange

func (*WatchDeviceTypeResponse) GotenMessage

func (*WatchDeviceTypeResponse) GotenMessage()

func (*WatchDeviceTypeResponse) GotenValidate

func (obj *WatchDeviceTypeResponse) GotenValidate() error

func (*WatchDeviceTypeResponse) Marshal

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

func (*WatchDeviceTypeResponse) MarshalJSON

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

func (*WatchDeviceTypeResponse) ProtoMessage

func (*WatchDeviceTypeResponse) ProtoMessage()

func (*WatchDeviceTypeResponse) ProtoReflect

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

func (*WatchDeviceTypeResponse) Reset

func (m *WatchDeviceTypeResponse) Reset()

func (*WatchDeviceTypeResponse) SetChange

func (*WatchDeviceTypeResponse) String

func (m *WatchDeviceTypeResponse) String() string

func (*WatchDeviceTypeResponse) Unmarshal

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

func (*WatchDeviceTypeResponse) UnmarshalJSON

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

type WatchDeviceTypesClientStream

type WatchDeviceTypesClientStream interface {
	Recv() (*WatchDeviceTypesResponse, error)
	grpc.ClientStream
}

type WatchDeviceTypesDescriptor

type WatchDeviceTypesDescriptor struct{}

func GetWatchDeviceTypesDescriptor

func GetWatchDeviceTypesDescriptor() *WatchDeviceTypesDescriptor

func (*WatchDeviceTypesDescriptor) GetApiDescriptor

func (*WatchDeviceTypesDescriptor) GetApiName

func (d *WatchDeviceTypesDescriptor) GetApiName() string

func (*WatchDeviceTypesDescriptor) GetClientMsgReflectHandle

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

func (*WatchDeviceTypesDescriptor) GetFullMethodName

func (d *WatchDeviceTypesDescriptor) GetFullMethodName() string

func (*WatchDeviceTypesDescriptor) GetMethodName

func (d *WatchDeviceTypesDescriptor) GetMethodName() string

func (*WatchDeviceTypesDescriptor) GetProtoPkgName

func (d *WatchDeviceTypesDescriptor) GetProtoPkgName() string

func (*WatchDeviceTypesDescriptor) GetResourceDescriptor

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

func (*WatchDeviceTypesDescriptor) GetServerMsgReflectHandle

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

func (*WatchDeviceTypesDescriptor) GetServiceDomain

func (d *WatchDeviceTypesDescriptor) GetServiceDomain() string

func (*WatchDeviceTypesDescriptor) GetServiceVersion

func (d *WatchDeviceTypesDescriptor) GetServiceVersion() string

func (*WatchDeviceTypesDescriptor) GetVerb

func (d *WatchDeviceTypesDescriptor) GetVerb() string

func (*WatchDeviceTypesDescriptor) HasResource

func (d *WatchDeviceTypesDescriptor) HasResource() bool

func (*WatchDeviceTypesDescriptor) IsClientStream

func (d *WatchDeviceTypesDescriptor) IsClientStream() bool

func (*WatchDeviceTypesDescriptor) IsCollection

func (d *WatchDeviceTypesDescriptor) IsCollection() bool

func (*WatchDeviceTypesDescriptor) IsPlural

func (d *WatchDeviceTypesDescriptor) IsPlural() bool

func (*WatchDeviceTypesDescriptor) IsServerStream

func (d *WatchDeviceTypesDescriptor) IsServerStream() bool

func (*WatchDeviceTypesDescriptor) IsUnary

func (d *WatchDeviceTypesDescriptor) IsUnary() bool

func (*WatchDeviceTypesDescriptor) NewEmptyClientMsg

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

func (*WatchDeviceTypesDescriptor) NewEmptyServerMsg

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

func (*WatchDeviceTypesDescriptor) RequestHasResourceBody

func (d *WatchDeviceTypesDescriptor) RequestHasResourceBody() bool

type WatchDeviceTypesDescriptorClientMsgHandle

type WatchDeviceTypesDescriptorClientMsgHandle struct{}

func (*WatchDeviceTypesDescriptorClientMsgHandle) ExtractCollectionName

func (*WatchDeviceTypesDescriptorClientMsgHandle) ExtractResourceBodies

func (*WatchDeviceTypesDescriptorClientMsgHandle) ExtractResourceBody

func (*WatchDeviceTypesDescriptorClientMsgHandle) ExtractResourceName

func (*WatchDeviceTypesDescriptorClientMsgHandle) ExtractResourceNames

type WatchDeviceTypesDescriptorServerMsgHandle

type WatchDeviceTypesDescriptorServerMsgHandle struct{}

func (*WatchDeviceTypesDescriptorServerMsgHandle) ExtractCollectionName

func (*WatchDeviceTypesDescriptorServerMsgHandle) ExtractResourceBodies

func (*WatchDeviceTypesDescriptorServerMsgHandle) ExtractResourceBody

func (*WatchDeviceTypesDescriptorServerMsgHandle) ExtractResourceName

func (*WatchDeviceTypesDescriptorServerMsgHandle) ExtractResourceNames

type WatchDeviceTypesRequest

type WatchDeviceTypesRequest struct {

	// Type of a watch. Identifies how server stream data to a client, which
	// fields in a request are allowed and which fields in response are relevant.
	Type watch_type.WatchType `protobuf:"varint,9,opt,name=type,proto3,enum=goten.types.WatchType" json:"type,omitempty" firestore:"type"`
	// Requested page size. Server may return fewer DeviceTypes than requested.
	// If unspecified, server will pick an appropriate default.
	// Can be populated only for stateful watch type.
	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.
	// Can be populated only for stateful watch type.
	PageToken *device_type.PagerCursor `` /* 133-byte string literal not displayed */
	// Order By -
	// https://cloud.google.com/apis/design/design_patterns#list_pagination Can be
	// populated only for stateful watch type.
	OrderBy *device_type.OrderBy `protobuf:"bytes,4,opt,customtype=OrderBy,name=order_by,json=orderBy,proto3" json:"order_by,omitempty" firestore:"orderBy"`
	// A token identifying watch resume point from previous session.
	// Can be populated only for stateless watch type.
	ResumeToken string `protobuf:"bytes,10,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty" firestore:"resumeToken"`
	// Point in the time from which we want to start getting updates. This field
	// can be populated only for stateless watch type and if resume token is not
	// known yet. If specified, initial snapshot will NOT be provided. It is
	// assumed client can obtain it using separate means. Watch responses will
	// contain resume tokens which should be used to resume broken connection.
	StartingTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=starting_time,json=startingTime,proto3" json:"starting_time,omitempty" firestore:"startingTime"`
	// 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_type.Filter `protobuf:"bytes,5,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty" firestore:"filter"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view Changes to DeviceType that don't
	// affect any of masked fields won't be sent back.
	FieldMask *device_type.DeviceType_FieldMask `` /* 142-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 Changes to
	// DeviceType that don't affect any of masked fields won't be sent back.
	View view.View `protobuf:"varint,8,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// Maximum amount of changes in each response message. Query result response
	// is divided on the server side into chunks with size of a specified amount
	// to limit memory footprint of each message. Responses will hold information
	// whether more elements will continue for the actual change. If unspecified,
	// server will pick an appropriate default.
	MaxChunkSize int32 `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*WatchDeviceTypesRequest) Descriptor

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

Deprecated, Use WatchDeviceTypesRequest.ProtoReflect.Descriptor instead.

func (*WatchDeviceTypesRequest) GetFieldMask

func (*WatchDeviceTypesRequest) GetFilter

func (m *WatchDeviceTypesRequest) GetFilter() *device_type.Filter

func (*WatchDeviceTypesRequest) GetMaxChunkSize

func (m *WatchDeviceTypesRequest) GetMaxChunkSize() int32

func (*WatchDeviceTypesRequest) GetOrderBy

func (m *WatchDeviceTypesRequest) GetOrderBy() *device_type.OrderBy

func (*WatchDeviceTypesRequest) GetPageSize

func (m *WatchDeviceTypesRequest) GetPageSize() int32

func (*WatchDeviceTypesRequest) GetPageToken

func (m *WatchDeviceTypesRequest) GetPageToken() *device_type.PagerCursor

func (*WatchDeviceTypesRequest) GetResumeToken

func (m *WatchDeviceTypesRequest) GetResumeToken() string

func (*WatchDeviceTypesRequest) GetStartingTime

func (m *WatchDeviceTypesRequest) GetStartingTime() *timestamppb.Timestamp

func (*WatchDeviceTypesRequest) GetType

func (*WatchDeviceTypesRequest) GetView

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

func (*WatchDeviceTypesRequest) GotenMessage

func (*WatchDeviceTypesRequest) GotenMessage()

func (*WatchDeviceTypesRequest) GotenValidate

func (obj *WatchDeviceTypesRequest) GotenValidate() error

func (*WatchDeviceTypesRequest) Marshal

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

func (*WatchDeviceTypesRequest) MarshalJSON

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

func (*WatchDeviceTypesRequest) ProtoMessage

func (*WatchDeviceTypesRequest) ProtoMessage()

func (*WatchDeviceTypesRequest) ProtoReflect

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

func (*WatchDeviceTypesRequest) Reset

func (m *WatchDeviceTypesRequest) Reset()

func (*WatchDeviceTypesRequest) SetFieldMask

func (*WatchDeviceTypesRequest) SetFilter

func (m *WatchDeviceTypesRequest) SetFilter(fv *device_type.Filter)

func (*WatchDeviceTypesRequest) SetMaxChunkSize

func (m *WatchDeviceTypesRequest) SetMaxChunkSize(fv int32)

func (*WatchDeviceTypesRequest) SetOrderBy

func (m *WatchDeviceTypesRequest) SetOrderBy(fv *device_type.OrderBy)

func (*WatchDeviceTypesRequest) SetPageSize

func (m *WatchDeviceTypesRequest) SetPageSize(fv int32)

func (*WatchDeviceTypesRequest) SetPageToken

func (m *WatchDeviceTypesRequest) SetPageToken(fv *device_type.PagerCursor)

func (*WatchDeviceTypesRequest) SetResumeToken

func (m *WatchDeviceTypesRequest) SetResumeToken(fv string)

func (*WatchDeviceTypesRequest) SetStartingTime

func (m *WatchDeviceTypesRequest) SetStartingTime(fv *timestamppb.Timestamp)

func (*WatchDeviceTypesRequest) SetType

func (*WatchDeviceTypesRequest) SetView

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

func (*WatchDeviceTypesRequest) String

func (m *WatchDeviceTypesRequest) String() string

func (*WatchDeviceTypesRequest) Unmarshal

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

func (*WatchDeviceTypesRequest) UnmarshalJSON

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

type WatchDeviceTypesResponse

type WatchDeviceTypesResponse struct {

	// Changes of DeviceTypes
	DeviceTypeChanges []*device_type.DeviceTypeChange `` /* 144-byte string literal not displayed */
	// If request specified max_chunk_size (or this limit was enforced if
	// stateless watch has been chosen), then responses with "full changeset" will
	// be divided into chunks. Client should keep receiving messages and, once
	// is_current has value true, combine this recent message with all previous
	// ones where is_current is false. If this is the first is_current in a whole
	// watch stream, then it means that client should have, at this moment,
	// contain snapshot of the current situation (or more accurately, snapshot of
	// situation at the moment of request). All DeviceTypes will be of type
	// Added/Current (depending on watch_type specified in the request). Further
	// responses will be incremental - however messages may still be chunked and
	// is_current logic still applies. is_current is always true for stateful
	// watch if max_chunk_size was left to 0.
	IsCurrent bool `protobuf:"varint,4,opt,name=is_current,json=isCurrent,proto3" json:"is_current,omitempty" firestore:"isCurrent"`
	// When present, PageTokens used for page navigation should be updated.
	// Present only if is_current is true (last chunk).
	PageTokenChange *WatchDeviceTypesResponse_PageTokenChange `` /* 136-byte string literal not displayed */
	// Token that can be used if current connection drops and client needs to
	// reconnect. Populated only for stateless watch type. Present only if
	// is_current is true (last chunk).
	ResumeToken string `protobuf:"bytes,5,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty" firestore:"resumeToken"`
	// Server may occasionally send information how many resources should client
	// have in its state so far (response message without any changes, but with
	// snapshot_size field specified). If client has different value than the one
	// sent by the server, then it should be treated by a client as an error and
	// should reconnect. If value is smaller then 0, then client should ignore
	// this field as unpopulated. This field should be checked only for stateless
	// watch. In stateful those kind of errors are handled by the server side.
	// Will be never sent together with is_current, is_soft_reset and
	// is_hard_reset flags.
	SnapshotSize int64 `protobuf:"varint,6,opt,name=snapshot_size,json=snapshotSize,proto3" json:"snapshot_size,omitempty" firestore:"snapshotSize"`
	// In case of internal issue server may send response message with this flag.
	// It indicates that client should drop all changes from recent responses
	// where is_current is false only! If last message had is_current set to true,
	// client should do nothing and process normally. Resume token received before
	// is still valid. This field should be checked only for stateless watch. In
	// stateful those kind of errors are handled by the server side. Will never be
	// sent along with is_current, is_hard_reset or snapshot_size.
	IsSoftReset bool `protobuf:"varint,7,opt,name=is_soft_reset,json=isSoftReset,proto3" json:"is_soft_reset,omitempty" firestore:"isSoftReset"`
	// In case of internal issue server may send response message with this flag.
	// After receiving, client should clear whole state (drop all changes received
	// so far) as server will send new snapshot (DeviceTypes will contains changes
	// of type Current only). Any resume tokens should be discarded as well. This
	// field should be checked only for stateless watch. In stateful those kind of
	// errors are handled by the server side. Will never be sent along with
	// is_current, is_soft_reset or snapshot_size.
	IsHardReset bool `protobuf:"varint,8,opt,name=is_hard_reset,json=isHardReset,proto3" json:"is_hard_reset,omitempty" firestore:"isHardReset"`
	// contains filtered or unexported fields
}

WatchDeviceTypesResponse

func (*WatchDeviceTypesResponse) Descriptor

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

Deprecated, Use WatchDeviceTypesResponse.ProtoReflect.Descriptor instead.

func (*WatchDeviceTypesResponse) GetDeviceTypeChanges

func (m *WatchDeviceTypesResponse) GetDeviceTypeChanges() []*device_type.DeviceTypeChange

func (*WatchDeviceTypesResponse) GetIsCurrent

func (m *WatchDeviceTypesResponse) GetIsCurrent() bool

func (*WatchDeviceTypesResponse) GetIsHardReset

func (m *WatchDeviceTypesResponse) GetIsHardReset() bool

func (*WatchDeviceTypesResponse) GetIsSoftReset

func (m *WatchDeviceTypesResponse) GetIsSoftReset() bool

func (*WatchDeviceTypesResponse) GetPageTokenChange

func (*WatchDeviceTypesResponse) GetResumeToken

func (m *WatchDeviceTypesResponse) GetResumeToken() string

func (*WatchDeviceTypesResponse) GetSnapshotSize

func (m *WatchDeviceTypesResponse) GetSnapshotSize() int64

func (*WatchDeviceTypesResponse) GotenMessage

func (*WatchDeviceTypesResponse) GotenMessage()

func (*WatchDeviceTypesResponse) GotenValidate

func (obj *WatchDeviceTypesResponse) GotenValidate() error

func (*WatchDeviceTypesResponse) Marshal

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

func (*WatchDeviceTypesResponse) MarshalJSON

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

func (*WatchDeviceTypesResponse) ProtoMessage

func (*WatchDeviceTypesResponse) ProtoMessage()

func (*WatchDeviceTypesResponse) ProtoReflect

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

func (*WatchDeviceTypesResponse) Reset

func (m *WatchDeviceTypesResponse) Reset()

func (*WatchDeviceTypesResponse) SetDeviceTypeChanges

func (m *WatchDeviceTypesResponse) SetDeviceTypeChanges(fv []*device_type.DeviceTypeChange)

func (*WatchDeviceTypesResponse) SetIsCurrent

func (m *WatchDeviceTypesResponse) SetIsCurrent(fv bool)

func (*WatchDeviceTypesResponse) SetIsHardReset

func (m *WatchDeviceTypesResponse) SetIsHardReset(fv bool)

func (*WatchDeviceTypesResponse) SetIsSoftReset

func (m *WatchDeviceTypesResponse) SetIsSoftReset(fv bool)

func (*WatchDeviceTypesResponse) SetPageTokenChange

func (*WatchDeviceTypesResponse) SetResumeToken

func (m *WatchDeviceTypesResponse) SetResumeToken(fv string)

func (*WatchDeviceTypesResponse) SetSnapshotSize

func (m *WatchDeviceTypesResponse) SetSnapshotSize(fv int64)

func (*WatchDeviceTypesResponse) String

func (m *WatchDeviceTypesResponse) String() string

func (*WatchDeviceTypesResponse) Unmarshal

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

func (*WatchDeviceTypesResponse) UnmarshalJSON

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

type WatchDeviceTypesResponse_PageTokenChange

type WatchDeviceTypesResponse_PageTokenChange struct {

	// New token to retrieve previous page of results.
	PrevPageToken *device_type.PagerCursor `` /* 151-byte string literal not displayed */
	// New token to retrieve next page of results.
	NextPageToken *device_type.PagerCursor `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*WatchDeviceTypesResponse_PageTokenChange) Descriptor

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

Deprecated, Use WatchDeviceTypesResponse_PageTokenChange.ProtoReflect.Descriptor instead.

func (*WatchDeviceTypesResponse_PageTokenChange) GetNextPageToken

func (*WatchDeviceTypesResponse_PageTokenChange) GetPrevPageToken

func (*WatchDeviceTypesResponse_PageTokenChange) GotenMessage

func (*WatchDeviceTypesResponse_PageTokenChange) GotenValidate

func (obj *WatchDeviceTypesResponse_PageTokenChange) GotenValidate() error

func (*WatchDeviceTypesResponse_PageTokenChange) Marshal

func (*WatchDeviceTypesResponse_PageTokenChange) MarshalJSON

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

func (*WatchDeviceTypesResponse_PageTokenChange) ProtoMessage

func (*WatchDeviceTypesResponse_PageTokenChange) ProtoReflect

func (*WatchDeviceTypesResponse_PageTokenChange) Reset

func (*WatchDeviceTypesResponse_PageTokenChange) SetNextPageToken

func (*WatchDeviceTypesResponse_PageTokenChange) SetPrevPageToken

func (*WatchDeviceTypesResponse_PageTokenChange) String

func (*WatchDeviceTypesResponse_PageTokenChange) Unmarshal

func (*WatchDeviceTypesResponse_PageTokenChange) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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