hardware_client

package
v1.0.42 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchGetHardwaresDescriptor

type BatchGetHardwaresDescriptor struct{}

func GetBatchGetHardwaresDescriptor

func GetBatchGetHardwaresDescriptor() *BatchGetHardwaresDescriptor

func (*BatchGetHardwaresDescriptor) GetApiDescriptor

func (*BatchGetHardwaresDescriptor) GetApiName

func (d *BatchGetHardwaresDescriptor) GetApiName() string

func (*BatchGetHardwaresDescriptor) GetClientMsgReflectHandle

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

func (*BatchGetHardwaresDescriptor) GetFullMethodName

func (d *BatchGetHardwaresDescriptor) GetFullMethodName() string

func (*BatchGetHardwaresDescriptor) GetMethodName

func (d *BatchGetHardwaresDescriptor) GetMethodName() string

func (*BatchGetHardwaresDescriptor) GetProtoPkgName

func (d *BatchGetHardwaresDescriptor) GetProtoPkgName() string

func (*BatchGetHardwaresDescriptor) GetResourceDescriptor

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

func (*BatchGetHardwaresDescriptor) GetServerMsgReflectHandle

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

func (*BatchGetHardwaresDescriptor) GetServiceDomain

func (d *BatchGetHardwaresDescriptor) GetServiceDomain() string

func (*BatchGetHardwaresDescriptor) GetServiceVersion

func (d *BatchGetHardwaresDescriptor) GetServiceVersion() string

func (*BatchGetHardwaresDescriptor) GetVerb

func (d *BatchGetHardwaresDescriptor) GetVerb() string

func (*BatchGetHardwaresDescriptor) HasResource

func (d *BatchGetHardwaresDescriptor) HasResource() bool

func (*BatchGetHardwaresDescriptor) IsClientStream

func (d *BatchGetHardwaresDescriptor) IsClientStream() bool

func (*BatchGetHardwaresDescriptor) IsCollection

func (d *BatchGetHardwaresDescriptor) IsCollection() bool

func (*BatchGetHardwaresDescriptor) IsPlural

func (d *BatchGetHardwaresDescriptor) IsPlural() bool

func (*BatchGetHardwaresDescriptor) IsServerStream

func (d *BatchGetHardwaresDescriptor) IsServerStream() bool

func (*BatchGetHardwaresDescriptor) IsUnary

func (d *BatchGetHardwaresDescriptor) IsUnary() bool

func (*BatchGetHardwaresDescriptor) NewEmptyClientMsg

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

func (*BatchGetHardwaresDescriptor) NewEmptyServerMsg

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

func (*BatchGetHardwaresDescriptor) RequestHasResourceBody

func (d *BatchGetHardwaresDescriptor) RequestHasResourceBody() bool

type BatchGetHardwaresDescriptorClientMsgHandle

type BatchGetHardwaresDescriptorClientMsgHandle struct{}

func (*BatchGetHardwaresDescriptorClientMsgHandle) ExtractCollectionName

func (*BatchGetHardwaresDescriptorClientMsgHandle) ExtractResourceBodies

func (*BatchGetHardwaresDescriptorClientMsgHandle) ExtractResourceBody

func (*BatchGetHardwaresDescriptorClientMsgHandle) ExtractResourceName

func (*BatchGetHardwaresDescriptorClientMsgHandle) ExtractResourceNames

type BatchGetHardwaresDescriptorServerMsgHandle

type BatchGetHardwaresDescriptorServerMsgHandle struct{}

func (*BatchGetHardwaresDescriptorServerMsgHandle) ExtractCollectionName

func (*BatchGetHardwaresDescriptorServerMsgHandle) ExtractResourceBodies

func (*BatchGetHardwaresDescriptorServerMsgHandle) ExtractResourceBody

func (*BatchGetHardwaresDescriptorServerMsgHandle) ExtractResourceName

func (*BatchGetHardwaresDescriptorServerMsgHandle) ExtractResourceNames

type BatchGetHardwaresRequest

type BatchGetHardwaresRequest struct {

	// Names of Hardwares
	Names []*hardware.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 *hardware.Hardware_FieldMask `` /* 140-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 [BatchGetHardwares][ntt.ztp.v1.BatchGetHardwares]

func (*BatchGetHardwaresRequest) Descriptor

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

Deprecated, Use BatchGetHardwaresRequest.ProtoReflect.Descriptor instead.

func (*BatchGetHardwaresRequest) GetFieldMask

func (*BatchGetHardwaresRequest) GetNames

func (m *BatchGetHardwaresRequest) GetNames() []*hardware.Name

func (*BatchGetHardwaresRequest) GetView

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

func (*BatchGetHardwaresRequest) GotenMessage

func (*BatchGetHardwaresRequest) GotenMessage()

func (*BatchGetHardwaresRequest) GotenValidate

func (obj *BatchGetHardwaresRequest) GotenValidate() error

func (*BatchGetHardwaresRequest) Marshal

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

func (*BatchGetHardwaresRequest) MarshalJSON

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

func (*BatchGetHardwaresRequest) ProtoMessage

func (*BatchGetHardwaresRequest) ProtoMessage()

func (*BatchGetHardwaresRequest) ProtoReflect

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

func (*BatchGetHardwaresRequest) Reset

func (m *BatchGetHardwaresRequest) Reset()

func (*BatchGetHardwaresRequest) SetFieldMask

func (*BatchGetHardwaresRequest) SetNames

func (m *BatchGetHardwaresRequest) SetNames(fv []*hardware.Name)

func (*BatchGetHardwaresRequest) SetView

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

func (*BatchGetHardwaresRequest) String

func (m *BatchGetHardwaresRequest) String() string

func (*BatchGetHardwaresRequest) Unmarshal

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

func (*BatchGetHardwaresRequest) UnmarshalJSON

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

type BatchGetHardwaresResponse

type BatchGetHardwaresResponse struct {

	// found Hardwares
	Hardwares []*hardware.Hardware `protobuf:"bytes,1,rep,name=hardwares,proto3" json:"hardwares,omitempty" firestore:"hardwares"`
	// list of not found Hardwares
	Missing []*hardware.Name `protobuf:"bytes,2,rep,customtype=Name,name=missing,proto3" json:"missing,omitempty" firestore:"missing"`
	// contains filtered or unexported fields
}

BatchGetHardwaresResponse

func (*BatchGetHardwaresResponse) Descriptor

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

Deprecated, Use BatchGetHardwaresResponse.ProtoReflect.Descriptor instead.

func (*BatchGetHardwaresResponse) GetHardwares

func (m *BatchGetHardwaresResponse) GetHardwares() []*hardware.Hardware

func (*BatchGetHardwaresResponse) GetMissing

func (m *BatchGetHardwaresResponse) GetMissing() []*hardware.Name

func (*BatchGetHardwaresResponse) GotenMessage

func (*BatchGetHardwaresResponse) GotenMessage()

func (*BatchGetHardwaresResponse) GotenValidate

func (obj *BatchGetHardwaresResponse) GotenValidate() error

func (*BatchGetHardwaresResponse) Marshal

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

func (*BatchGetHardwaresResponse) MarshalJSON

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

func (*BatchGetHardwaresResponse) ProtoMessage

func (*BatchGetHardwaresResponse) ProtoMessage()

func (*BatchGetHardwaresResponse) ProtoReflect

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

func (*BatchGetHardwaresResponse) Reset

func (m *BatchGetHardwaresResponse) Reset()

func (*BatchGetHardwaresResponse) SetHardwares

func (m *BatchGetHardwaresResponse) SetHardwares(fv []*hardware.Hardware)

func (*BatchGetHardwaresResponse) SetMissing

func (m *BatchGetHardwaresResponse) SetMissing(fv []*hardware.Name)

func (*BatchGetHardwaresResponse) String

func (m *BatchGetHardwaresResponse) String() string

func (*BatchGetHardwaresResponse) Unmarshal

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

func (*BatchGetHardwaresResponse) UnmarshalJSON

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

type CreateHardwareDescriptor

type CreateHardwareDescriptor struct{}

func GetCreateHardwareDescriptor

func GetCreateHardwareDescriptor() *CreateHardwareDescriptor

func (*CreateHardwareDescriptor) GetApiDescriptor

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

func (*CreateHardwareDescriptor) GetApiName

func (d *CreateHardwareDescriptor) GetApiName() string

func (*CreateHardwareDescriptor) GetClientMsgReflectHandle

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

func (*CreateHardwareDescriptor) GetFullMethodName

func (d *CreateHardwareDescriptor) GetFullMethodName() string

func (*CreateHardwareDescriptor) GetMethodName

func (d *CreateHardwareDescriptor) GetMethodName() string

func (*CreateHardwareDescriptor) GetProtoPkgName

func (d *CreateHardwareDescriptor) GetProtoPkgName() string

func (*CreateHardwareDescriptor) GetResourceDescriptor

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

func (*CreateHardwareDescriptor) GetServerMsgReflectHandle

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

func (*CreateHardwareDescriptor) GetServiceDomain

func (d *CreateHardwareDescriptor) GetServiceDomain() string

func (*CreateHardwareDescriptor) GetServiceVersion

func (d *CreateHardwareDescriptor) GetServiceVersion() string

func (*CreateHardwareDescriptor) GetVerb

func (d *CreateHardwareDescriptor) GetVerb() string

func (*CreateHardwareDescriptor) HasResource

func (d *CreateHardwareDescriptor) HasResource() bool

func (*CreateHardwareDescriptor) IsClientStream

func (d *CreateHardwareDescriptor) IsClientStream() bool

func (*CreateHardwareDescriptor) IsCollection

func (d *CreateHardwareDescriptor) IsCollection() bool

func (*CreateHardwareDescriptor) IsPlural

func (d *CreateHardwareDescriptor) IsPlural() bool

func (*CreateHardwareDescriptor) IsServerStream

func (d *CreateHardwareDescriptor) IsServerStream() bool

func (*CreateHardwareDescriptor) IsUnary

func (d *CreateHardwareDescriptor) IsUnary() bool

func (*CreateHardwareDescriptor) NewEmptyClientMsg

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

func (*CreateHardwareDescriptor) NewEmptyServerMsg

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

func (*CreateHardwareDescriptor) RequestHasResourceBody

func (d *CreateHardwareDescriptor) RequestHasResourceBody() bool

type CreateHardwareDescriptorClientMsgHandle

type CreateHardwareDescriptorClientMsgHandle struct{}

func (*CreateHardwareDescriptorClientMsgHandle) ExtractCollectionName

func (*CreateHardwareDescriptorClientMsgHandle) ExtractResourceBodies

func (*CreateHardwareDescriptorClientMsgHandle) ExtractResourceBody

func (*CreateHardwareDescriptorClientMsgHandle) ExtractResourceName

func (*CreateHardwareDescriptorClientMsgHandle) ExtractResourceNames

type CreateHardwareDescriptorServerMsgHandle

type CreateHardwareDescriptorServerMsgHandle struct{}

func (*CreateHardwareDescriptorServerMsgHandle) ExtractCollectionName

func (*CreateHardwareDescriptorServerMsgHandle) ExtractResourceBodies

func (*CreateHardwareDescriptorServerMsgHandle) ExtractResourceBody

func (*CreateHardwareDescriptorServerMsgHandle) ExtractResourceName

func (*CreateHardwareDescriptorServerMsgHandle) ExtractResourceNames

type CreateHardwareRequest

type CreateHardwareRequest struct {

	// Parent name of ntt.ztp.v1.Hardware
	Parent *hardware.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// Hardware resource body
	Hardware *hardware.Hardware `protobuf:"bytes,2,opt,name=hardware,proto3" json:"hardware,omitempty" firestore:"hardware"`
	// contains filtered or unexported fields
}

Request message for method [CreateHardware][ntt.ztp.v1.CreateHardware]

func (*CreateHardwareRequest) Descriptor

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

Deprecated, Use CreateHardwareRequest.ProtoReflect.Descriptor instead.

func (*CreateHardwareRequest) GetHardware

func (m *CreateHardwareRequest) GetHardware() *hardware.Hardware

func (*CreateHardwareRequest) GetParent

func (m *CreateHardwareRequest) GetParent() *hardware.ParentName

func (*CreateHardwareRequest) GotenMessage

func (*CreateHardwareRequest) GotenMessage()

func (*CreateHardwareRequest) GotenValidate

func (obj *CreateHardwareRequest) GotenValidate() error

func (*CreateHardwareRequest) Marshal

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

func (*CreateHardwareRequest) MarshalJSON

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

func (*CreateHardwareRequest) ProtoMessage

func (*CreateHardwareRequest) ProtoMessage()

func (*CreateHardwareRequest) ProtoReflect

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

func (*CreateHardwareRequest) Reset

func (m *CreateHardwareRequest) Reset()

func (*CreateHardwareRequest) SetHardware

func (m *CreateHardwareRequest) SetHardware(fv *hardware.Hardware)

func (*CreateHardwareRequest) SetParent

func (m *CreateHardwareRequest) SetParent(fv *hardware.ParentName)

func (*CreateHardwareRequest) String

func (m *CreateHardwareRequest) String() string

func (*CreateHardwareRequest) Unmarshal

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

func (*CreateHardwareRequest) UnmarshalJSON

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

type DeleteHardwareDescriptor

type DeleteHardwareDescriptor struct{}

func GetDeleteHardwareDescriptor

func GetDeleteHardwareDescriptor() *DeleteHardwareDescriptor

func (*DeleteHardwareDescriptor) GetApiDescriptor

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

func (*DeleteHardwareDescriptor) GetApiName

func (d *DeleteHardwareDescriptor) GetApiName() string

func (*DeleteHardwareDescriptor) GetClientMsgReflectHandle

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

func (*DeleteHardwareDescriptor) GetFullMethodName

func (d *DeleteHardwareDescriptor) GetFullMethodName() string

func (*DeleteHardwareDescriptor) GetMethodName

func (d *DeleteHardwareDescriptor) GetMethodName() string

func (*DeleteHardwareDescriptor) GetProtoPkgName

func (d *DeleteHardwareDescriptor) GetProtoPkgName() string

func (*DeleteHardwareDescriptor) GetResourceDescriptor

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

func (*DeleteHardwareDescriptor) GetServerMsgReflectHandle

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

func (*DeleteHardwareDescriptor) GetServiceDomain

func (d *DeleteHardwareDescriptor) GetServiceDomain() string

func (*DeleteHardwareDescriptor) GetServiceVersion

func (d *DeleteHardwareDescriptor) GetServiceVersion() string

func (*DeleteHardwareDescriptor) GetVerb

func (d *DeleteHardwareDescriptor) GetVerb() string

func (*DeleteHardwareDescriptor) HasResource

func (d *DeleteHardwareDescriptor) HasResource() bool

func (*DeleteHardwareDescriptor) IsClientStream

func (d *DeleteHardwareDescriptor) IsClientStream() bool

func (*DeleteHardwareDescriptor) IsCollection

func (d *DeleteHardwareDescriptor) IsCollection() bool

func (*DeleteHardwareDescriptor) IsPlural

func (d *DeleteHardwareDescriptor) IsPlural() bool

func (*DeleteHardwareDescriptor) IsServerStream

func (d *DeleteHardwareDescriptor) IsServerStream() bool

func (*DeleteHardwareDescriptor) IsUnary

func (d *DeleteHardwareDescriptor) IsUnary() bool

func (*DeleteHardwareDescriptor) NewEmptyClientMsg

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

func (*DeleteHardwareDescriptor) NewEmptyServerMsg

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

func (*DeleteHardwareDescriptor) RequestHasResourceBody

func (d *DeleteHardwareDescriptor) RequestHasResourceBody() bool

type DeleteHardwareDescriptorClientMsgHandle

type DeleteHardwareDescriptorClientMsgHandle struct{}

func (*DeleteHardwareDescriptorClientMsgHandle) ExtractCollectionName

func (*DeleteHardwareDescriptorClientMsgHandle) ExtractResourceBodies

func (*DeleteHardwareDescriptorClientMsgHandle) ExtractResourceBody

func (*DeleteHardwareDescriptorClientMsgHandle) ExtractResourceName

func (*DeleteHardwareDescriptorClientMsgHandle) ExtractResourceNames

type DeleteHardwareDescriptorServerMsgHandle

type DeleteHardwareDescriptorServerMsgHandle struct{}

func (*DeleteHardwareDescriptorServerMsgHandle) ExtractCollectionName

func (*DeleteHardwareDescriptorServerMsgHandle) ExtractResourceBodies

func (*DeleteHardwareDescriptorServerMsgHandle) ExtractResourceBody

func (*DeleteHardwareDescriptorServerMsgHandle) ExtractResourceName

func (*DeleteHardwareDescriptorServerMsgHandle) ExtractResourceNames

type DeleteHardwareRequest

type DeleteHardwareRequest struct {

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

Request message for method [DeleteHardware][ntt.ztp.v1.DeleteHardware]

func (*DeleteHardwareRequest) Descriptor

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

Deprecated, Use DeleteHardwareRequest.ProtoReflect.Descriptor instead.

func (*DeleteHardwareRequest) GetName

func (m *DeleteHardwareRequest) GetName() *hardware.Name

func (*DeleteHardwareRequest) GotenMessage

func (*DeleteHardwareRequest) GotenMessage()

func (*DeleteHardwareRequest) GotenValidate

func (obj *DeleteHardwareRequest) GotenValidate() error

func (*DeleteHardwareRequest) Marshal

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

func (*DeleteHardwareRequest) MarshalJSON

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

func (*DeleteHardwareRequest) ProtoMessage

func (*DeleteHardwareRequest) ProtoMessage()

func (*DeleteHardwareRequest) ProtoReflect

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

func (*DeleteHardwareRequest) Reset

func (m *DeleteHardwareRequest) Reset()

func (*DeleteHardwareRequest) SetName

func (m *DeleteHardwareRequest) SetName(fv *hardware.Name)

func (*DeleteHardwareRequest) String

func (m *DeleteHardwareRequest) String() string

func (*DeleteHardwareRequest) Unmarshal

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

func (*DeleteHardwareRequest) UnmarshalJSON

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

type GetHardwareDescriptor

type GetHardwareDescriptor struct{}

func GetGetHardwareDescriptor

func GetGetHardwareDescriptor() *GetHardwareDescriptor

func (*GetHardwareDescriptor) GetApiDescriptor

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

func (*GetHardwareDescriptor) GetApiName

func (d *GetHardwareDescriptor) GetApiName() string

func (*GetHardwareDescriptor) GetClientMsgReflectHandle

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

func (*GetHardwareDescriptor) GetFullMethodName

func (d *GetHardwareDescriptor) GetFullMethodName() string

func (*GetHardwareDescriptor) GetMethodName

func (d *GetHardwareDescriptor) GetMethodName() string

func (*GetHardwareDescriptor) GetProtoPkgName

func (d *GetHardwareDescriptor) GetProtoPkgName() string

func (*GetHardwareDescriptor) GetResourceDescriptor

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

func (*GetHardwareDescriptor) GetServerMsgReflectHandle

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

func (*GetHardwareDescriptor) GetServiceDomain

func (d *GetHardwareDescriptor) GetServiceDomain() string

func (*GetHardwareDescriptor) GetServiceVersion

func (d *GetHardwareDescriptor) GetServiceVersion() string

func (*GetHardwareDescriptor) GetVerb

func (d *GetHardwareDescriptor) GetVerb() string

func (*GetHardwareDescriptor) HasResource

func (d *GetHardwareDescriptor) HasResource() bool

func (*GetHardwareDescriptor) IsClientStream

func (d *GetHardwareDescriptor) IsClientStream() bool

func (*GetHardwareDescriptor) IsCollection

func (d *GetHardwareDescriptor) IsCollection() bool

func (*GetHardwareDescriptor) IsPlural

func (d *GetHardwareDescriptor) IsPlural() bool

func (*GetHardwareDescriptor) IsServerStream

func (d *GetHardwareDescriptor) IsServerStream() bool

func (*GetHardwareDescriptor) IsUnary

func (d *GetHardwareDescriptor) IsUnary() bool

func (*GetHardwareDescriptor) NewEmptyClientMsg

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

func (*GetHardwareDescriptor) NewEmptyServerMsg

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

func (*GetHardwareDescriptor) RequestHasResourceBody

func (d *GetHardwareDescriptor) RequestHasResourceBody() bool

type GetHardwareDescriptorClientMsgHandle

type GetHardwareDescriptorClientMsgHandle struct{}

func (*GetHardwareDescriptorClientMsgHandle) ExtractCollectionName

func (*GetHardwareDescriptorClientMsgHandle) ExtractResourceBodies

func (*GetHardwareDescriptorClientMsgHandle) ExtractResourceBody

func (*GetHardwareDescriptorClientMsgHandle) ExtractResourceName

func (*GetHardwareDescriptorClientMsgHandle) ExtractResourceNames

type GetHardwareDescriptorServerMsgHandle

type GetHardwareDescriptorServerMsgHandle struct{}

func (*GetHardwareDescriptorServerMsgHandle) ExtractCollectionName

func (*GetHardwareDescriptorServerMsgHandle) ExtractResourceBodies

func (*GetHardwareDescriptorServerMsgHandle) ExtractResourceBody

func (*GetHardwareDescriptorServerMsgHandle) ExtractResourceName

func (*GetHardwareDescriptorServerMsgHandle) ExtractResourceNames

type GetHardwareRequest

type GetHardwareRequest struct {

	// Name of ntt.ztp.v1.Hardware
	Name *hardware.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 *hardware.Hardware_FieldMask `` /* 140-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 [GetHardware][ntt.ztp.v1.GetHardware]

func (*GetHardwareRequest) Descriptor

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

Deprecated, Use GetHardwareRequest.ProtoReflect.Descriptor instead.

func (*GetHardwareRequest) GetFieldMask

func (m *GetHardwareRequest) GetFieldMask() *hardware.Hardware_FieldMask

func (*GetHardwareRequest) GetName

func (m *GetHardwareRequest) GetName() *hardware.Name

func (*GetHardwareRequest) GetView

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

func (*GetHardwareRequest) GotenMessage

func (*GetHardwareRequest) GotenMessage()

func (*GetHardwareRequest) GotenValidate

func (obj *GetHardwareRequest) GotenValidate() error

func (*GetHardwareRequest) Marshal

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

func (*GetHardwareRequest) MarshalJSON

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

func (*GetHardwareRequest) ProtoMessage

func (*GetHardwareRequest) ProtoMessage()

func (*GetHardwareRequest) ProtoReflect

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

func (*GetHardwareRequest) Reset

func (m *GetHardwareRequest) Reset()

func (*GetHardwareRequest) SetFieldMask

func (m *GetHardwareRequest) SetFieldMask(fv *hardware.Hardware_FieldMask)

func (*GetHardwareRequest) SetName

func (m *GetHardwareRequest) SetName(fv *hardware.Name)

func (*GetHardwareRequest) SetView

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

func (*GetHardwareRequest) String

func (m *GetHardwareRequest) String() string

func (*GetHardwareRequest) Unmarshal

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

func (*GetHardwareRequest) UnmarshalJSON

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

type HardwareServiceClient

type HardwareServiceClient interface {
	GetHardware(ctx context.Context, in *GetHardwareRequest, opts ...grpc.CallOption) (*hardware.Hardware, error)
	BatchGetHardwares(ctx context.Context, in *BatchGetHardwaresRequest, opts ...grpc.CallOption) (*BatchGetHardwaresResponse, error)
	ListHardwares(ctx context.Context, in *ListHardwaresRequest, opts ...grpc.CallOption) (*ListHardwaresResponse, error)
	WatchHardware(ctx context.Context, in *WatchHardwareRequest, opts ...grpc.CallOption) (WatchHardwareClientStream, error)
	WatchHardwares(ctx context.Context, in *WatchHardwaresRequest, opts ...grpc.CallOption) (WatchHardwaresClientStream, error)
	CreateHardware(ctx context.Context, in *CreateHardwareRequest, opts ...grpc.CallOption) (*hardware.Hardware, error)
	UpdateHardware(ctx context.Context, in *UpdateHardwareRequest, opts ...grpc.CallOption) (*hardware.Hardware, error)
	DeleteHardware(ctx context.Context, in *DeleteHardwareRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

HardwareServiceClient is the client API for HardwareService.

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

type HardwareServiceDescriptor

type HardwareServiceDescriptor struct{}

func GetHardwareServiceDescriptor

func GetHardwareServiceDescriptor() *HardwareServiceDescriptor

func (*HardwareServiceDescriptor) AllMethodDescriptors

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

func (*HardwareServiceDescriptor) GetApiName

func (d *HardwareServiceDescriptor) GetApiName() string

func (*HardwareServiceDescriptor) GetFullAPIName

func (d *HardwareServiceDescriptor) GetFullAPIName() string

func (*HardwareServiceDescriptor) GetProtoPkgName

func (d *HardwareServiceDescriptor) GetProtoPkgName() string

func (*HardwareServiceDescriptor) GetServiceDomain

func (d *HardwareServiceDescriptor) GetServiceDomain() string

func (*HardwareServiceDescriptor) GetServiceVersion

func (d *HardwareServiceDescriptor) GetServiceVersion() string

type ListHardwaresDescriptor

type ListHardwaresDescriptor struct{}

func GetListHardwaresDescriptor

func GetListHardwaresDescriptor() *ListHardwaresDescriptor

func (*ListHardwaresDescriptor) GetApiDescriptor

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

func (*ListHardwaresDescriptor) GetApiName

func (d *ListHardwaresDescriptor) GetApiName() string

func (*ListHardwaresDescriptor) GetClientMsgReflectHandle

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

func (*ListHardwaresDescriptor) GetFullMethodName

func (d *ListHardwaresDescriptor) GetFullMethodName() string

func (*ListHardwaresDescriptor) GetMethodName

func (d *ListHardwaresDescriptor) GetMethodName() string

func (*ListHardwaresDescriptor) GetProtoPkgName

func (d *ListHardwaresDescriptor) GetProtoPkgName() string

func (*ListHardwaresDescriptor) GetResourceDescriptor

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

func (*ListHardwaresDescriptor) GetServerMsgReflectHandle

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

func (*ListHardwaresDescriptor) GetServiceDomain

func (d *ListHardwaresDescriptor) GetServiceDomain() string

func (*ListHardwaresDescriptor) GetServiceVersion

func (d *ListHardwaresDescriptor) GetServiceVersion() string

func (*ListHardwaresDescriptor) GetVerb

func (d *ListHardwaresDescriptor) GetVerb() string

func (*ListHardwaresDescriptor) HasResource

func (d *ListHardwaresDescriptor) HasResource() bool

func (*ListHardwaresDescriptor) IsClientStream

func (d *ListHardwaresDescriptor) IsClientStream() bool

func (*ListHardwaresDescriptor) IsCollection

func (d *ListHardwaresDescriptor) IsCollection() bool

func (*ListHardwaresDescriptor) IsPlural

func (d *ListHardwaresDescriptor) IsPlural() bool

func (*ListHardwaresDescriptor) IsServerStream

func (d *ListHardwaresDescriptor) IsServerStream() bool

func (*ListHardwaresDescriptor) IsUnary

func (d *ListHardwaresDescriptor) IsUnary() bool

func (*ListHardwaresDescriptor) NewEmptyClientMsg

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

func (*ListHardwaresDescriptor) NewEmptyServerMsg

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

func (*ListHardwaresDescriptor) RequestHasResourceBody

func (d *ListHardwaresDescriptor) RequestHasResourceBody() bool

type ListHardwaresDescriptorClientMsgHandle

type ListHardwaresDescriptorClientMsgHandle struct{}

func (*ListHardwaresDescriptorClientMsgHandle) ExtractCollectionName

func (*ListHardwaresDescriptorClientMsgHandle) ExtractResourceBodies

func (*ListHardwaresDescriptorClientMsgHandle) ExtractResourceBody

func (*ListHardwaresDescriptorClientMsgHandle) ExtractResourceName

func (*ListHardwaresDescriptorClientMsgHandle) ExtractResourceNames

type ListHardwaresDescriptorServerMsgHandle

type ListHardwaresDescriptorServerMsgHandle struct{}

func (*ListHardwaresDescriptorServerMsgHandle) ExtractCollectionName

func (*ListHardwaresDescriptorServerMsgHandle) ExtractResourceBodies

func (*ListHardwaresDescriptorServerMsgHandle) ExtractResourceBody

func (*ListHardwaresDescriptorServerMsgHandle) ExtractResourceName

func (*ListHardwaresDescriptorServerMsgHandle) ExtractResourceNames

type ListHardwaresRequest

type ListHardwaresRequest struct {

	// Parent name of ntt.ztp.v1.Hardware
	Parent *hardware.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// Requested page size. Server may return fewer Hardwares 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
	// [ListHardwaresResponse.next_page_token][ntt.ztp.v1.ListHardwaresResponse.next_page_token]
	PageToken *hardware.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 *hardware.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 *hardware.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 *hardware.Hardware_FieldMask `` /* 140-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 [ListHardwares][ntt.ztp.v1.ListHardwares]

func (*ListHardwaresRequest) Descriptor

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

Deprecated, Use ListHardwaresRequest.ProtoReflect.Descriptor instead.

func (*ListHardwaresRequest) GetFieldMask

func (*ListHardwaresRequest) GetFilter

func (m *ListHardwaresRequest) GetFilter() *hardware.Filter

func (*ListHardwaresRequest) GetIncludePagingInfo

func (m *ListHardwaresRequest) GetIncludePagingInfo() bool

func (*ListHardwaresRequest) GetOrderBy

func (m *ListHardwaresRequest) GetOrderBy() *hardware.OrderBy

func (*ListHardwaresRequest) GetPageSize

func (m *ListHardwaresRequest) GetPageSize() int32

func (*ListHardwaresRequest) GetPageToken

func (m *ListHardwaresRequest) GetPageToken() *hardware.PagerCursor

func (*ListHardwaresRequest) GetParent

func (m *ListHardwaresRequest) GetParent() *hardware.ParentName

func (*ListHardwaresRequest) GetView

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

func (*ListHardwaresRequest) GotenMessage

func (*ListHardwaresRequest) GotenMessage()

func (*ListHardwaresRequest) GotenValidate

func (obj *ListHardwaresRequest) GotenValidate() error

func (*ListHardwaresRequest) Marshal

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

func (*ListHardwaresRequest) MarshalJSON

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

func (*ListHardwaresRequest) ProtoMessage

func (*ListHardwaresRequest) ProtoMessage()

func (*ListHardwaresRequest) ProtoReflect

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

func (*ListHardwaresRequest) Reset

func (m *ListHardwaresRequest) Reset()

func (*ListHardwaresRequest) SetFieldMask

func (m *ListHardwaresRequest) SetFieldMask(fv *hardware.Hardware_FieldMask)

func (*ListHardwaresRequest) SetFilter

func (m *ListHardwaresRequest) SetFilter(fv *hardware.Filter)

func (*ListHardwaresRequest) SetIncludePagingInfo

func (m *ListHardwaresRequest) SetIncludePagingInfo(fv bool)

func (*ListHardwaresRequest) SetOrderBy

func (m *ListHardwaresRequest) SetOrderBy(fv *hardware.OrderBy)

func (*ListHardwaresRequest) SetPageSize

func (m *ListHardwaresRequest) SetPageSize(fv int32)

func (*ListHardwaresRequest) SetPageToken

func (m *ListHardwaresRequest) SetPageToken(fv *hardware.PagerCursor)

func (*ListHardwaresRequest) SetParent

func (m *ListHardwaresRequest) SetParent(fv *hardware.ParentName)

func (*ListHardwaresRequest) SetView

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

func (*ListHardwaresRequest) String

func (m *ListHardwaresRequest) String() string

func (*ListHardwaresRequest) Unmarshal

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

func (*ListHardwaresRequest) UnmarshalJSON

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

type ListHardwaresResponse

type ListHardwaresResponse struct {

	// The list of Hardwares
	Hardwares []*hardware.Hardware `protobuf:"bytes,1,rep,name=hardwares,proto3" json:"hardwares,omitempty" firestore:"hardwares"`
	// A token to retrieve previous page of results. Pass this value in the
	// [ListHardwaresRequest.page_token][ntt.ztp.v1.ListHardwaresRequest.page_token]
	PrevPageToken *hardware.PagerCursor `` /* 151-byte string literal not displayed */
	// A token to retrieve next page of results. Pass this value in the
	// [ListHardwaresRequest.page_token][ntt.ztp.v1.ListHardwaresRequest.page_token]
	NextPageToken *hardware.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 Hardwares 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 [ListHardwares][ntt.ztp.v1.ListHardwares]

func (*ListHardwaresResponse) Descriptor

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

Deprecated, Use ListHardwaresResponse.ProtoReflect.Descriptor instead.

func (*ListHardwaresResponse) GetCurrentOffset

func (m *ListHardwaresResponse) GetCurrentOffset() int32

func (*ListHardwaresResponse) GetHardwares

func (m *ListHardwaresResponse) GetHardwares() []*hardware.Hardware

func (*ListHardwaresResponse) GetNextPageToken

func (m *ListHardwaresResponse) GetNextPageToken() *hardware.PagerCursor

func (*ListHardwaresResponse) GetPrevPageToken

func (m *ListHardwaresResponse) GetPrevPageToken() *hardware.PagerCursor

func (*ListHardwaresResponse) GetTotalResultsCount

func (m *ListHardwaresResponse) GetTotalResultsCount() int32

func (*ListHardwaresResponse) GotenMessage

func (*ListHardwaresResponse) GotenMessage()

func (*ListHardwaresResponse) GotenValidate

func (obj *ListHardwaresResponse) GotenValidate() error

func (*ListHardwaresResponse) Marshal

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

func (*ListHardwaresResponse) MarshalJSON

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

func (*ListHardwaresResponse) ProtoMessage

func (*ListHardwaresResponse) ProtoMessage()

func (*ListHardwaresResponse) ProtoReflect

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

func (*ListHardwaresResponse) Reset

func (m *ListHardwaresResponse) Reset()

func (*ListHardwaresResponse) SetCurrentOffset

func (m *ListHardwaresResponse) SetCurrentOffset(fv int32)

func (*ListHardwaresResponse) SetHardwares

func (m *ListHardwaresResponse) SetHardwares(fv []*hardware.Hardware)

func (*ListHardwaresResponse) SetNextPageToken

func (m *ListHardwaresResponse) SetNextPageToken(fv *hardware.PagerCursor)

func (*ListHardwaresResponse) SetPrevPageToken

func (m *ListHardwaresResponse) SetPrevPageToken(fv *hardware.PagerCursor)

func (*ListHardwaresResponse) SetTotalResultsCount

func (m *ListHardwaresResponse) SetTotalResultsCount(fv int32)

func (*ListHardwaresResponse) String

func (m *ListHardwaresResponse) String() string

func (*ListHardwaresResponse) Unmarshal

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

func (*ListHardwaresResponse) UnmarshalJSON

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

type UpdateHardwareDescriptor

type UpdateHardwareDescriptor struct{}

func GetUpdateHardwareDescriptor

func GetUpdateHardwareDescriptor() *UpdateHardwareDescriptor

func (*UpdateHardwareDescriptor) GetApiDescriptor

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

func (*UpdateHardwareDescriptor) GetApiName

func (d *UpdateHardwareDescriptor) GetApiName() string

func (*UpdateHardwareDescriptor) GetClientMsgReflectHandle

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

func (*UpdateHardwareDescriptor) GetFullMethodName

func (d *UpdateHardwareDescriptor) GetFullMethodName() string

func (*UpdateHardwareDescriptor) GetMethodName

func (d *UpdateHardwareDescriptor) GetMethodName() string

func (*UpdateHardwareDescriptor) GetProtoPkgName

func (d *UpdateHardwareDescriptor) GetProtoPkgName() string

func (*UpdateHardwareDescriptor) GetResourceDescriptor

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

func (*UpdateHardwareDescriptor) GetServerMsgReflectHandle

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

func (*UpdateHardwareDescriptor) GetServiceDomain

func (d *UpdateHardwareDescriptor) GetServiceDomain() string

func (*UpdateHardwareDescriptor) GetServiceVersion

func (d *UpdateHardwareDescriptor) GetServiceVersion() string

func (*UpdateHardwareDescriptor) GetVerb

func (d *UpdateHardwareDescriptor) GetVerb() string

func (*UpdateHardwareDescriptor) HasResource

func (d *UpdateHardwareDescriptor) HasResource() bool

func (*UpdateHardwareDescriptor) IsClientStream

func (d *UpdateHardwareDescriptor) IsClientStream() bool

func (*UpdateHardwareDescriptor) IsCollection

func (d *UpdateHardwareDescriptor) IsCollection() bool

func (*UpdateHardwareDescriptor) IsPlural

func (d *UpdateHardwareDescriptor) IsPlural() bool

func (*UpdateHardwareDescriptor) IsServerStream

func (d *UpdateHardwareDescriptor) IsServerStream() bool

func (*UpdateHardwareDescriptor) IsUnary

func (d *UpdateHardwareDescriptor) IsUnary() bool

func (*UpdateHardwareDescriptor) NewEmptyClientMsg

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

func (*UpdateHardwareDescriptor) NewEmptyServerMsg

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

func (*UpdateHardwareDescriptor) RequestHasResourceBody

func (d *UpdateHardwareDescriptor) RequestHasResourceBody() bool

type UpdateHardwareDescriptorClientMsgHandle

type UpdateHardwareDescriptorClientMsgHandle struct{}

func (*UpdateHardwareDescriptorClientMsgHandle) ExtractCollectionName

func (*UpdateHardwareDescriptorClientMsgHandle) ExtractResourceBodies

func (*UpdateHardwareDescriptorClientMsgHandle) ExtractResourceBody

func (*UpdateHardwareDescriptorClientMsgHandle) ExtractResourceName

func (*UpdateHardwareDescriptorClientMsgHandle) ExtractResourceNames

type UpdateHardwareDescriptorServerMsgHandle

type UpdateHardwareDescriptorServerMsgHandle struct{}

func (*UpdateHardwareDescriptorServerMsgHandle) ExtractCollectionName

func (*UpdateHardwareDescriptorServerMsgHandle) ExtractResourceBodies

func (*UpdateHardwareDescriptorServerMsgHandle) ExtractResourceBody

func (*UpdateHardwareDescriptorServerMsgHandle) ExtractResourceName

func (*UpdateHardwareDescriptorServerMsgHandle) ExtractResourceNames

type UpdateHardwareRequest

type UpdateHardwareRequest struct {

	// Hardware resource body
	Hardware *hardware.Hardware `protobuf:"bytes,2,opt,name=hardware,proto3" json:"hardware,omitempty" firestore:"hardware"`
	// FieldMask applied to request - change will be applied only for fields in
	// the mask
	UpdateMask *hardware.Hardware_FieldMask `` /* 144-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 *UpdateHardwareRequest_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 [UpdateHardware][ntt.ztp.v1.UpdateHardware]

func (*UpdateHardwareRequest) Descriptor

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

Deprecated, Use UpdateHardwareRequest.ProtoReflect.Descriptor instead.

func (*UpdateHardwareRequest) GetAllowMissing

func (m *UpdateHardwareRequest) GetAllowMissing() bool

func (*UpdateHardwareRequest) GetCas

func (*UpdateHardwareRequest) GetHardware

func (m *UpdateHardwareRequest) GetHardware() *hardware.Hardware

func (*UpdateHardwareRequest) GetUpdateMask

func (*UpdateHardwareRequest) GotenMessage

func (*UpdateHardwareRequest) GotenMessage()

func (*UpdateHardwareRequest) GotenValidate

func (obj *UpdateHardwareRequest) GotenValidate() error

func (*UpdateHardwareRequest) Marshal

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

func (*UpdateHardwareRequest) MarshalJSON

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

func (*UpdateHardwareRequest) ProtoMessage

func (*UpdateHardwareRequest) ProtoMessage()

func (*UpdateHardwareRequest) ProtoReflect

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

func (*UpdateHardwareRequest) Reset

func (m *UpdateHardwareRequest) Reset()

func (*UpdateHardwareRequest) SetAllowMissing

func (m *UpdateHardwareRequest) SetAllowMissing(fv bool)

func (*UpdateHardwareRequest) SetCas

func (*UpdateHardwareRequest) SetHardware

func (m *UpdateHardwareRequest) SetHardware(fv *hardware.Hardware)

func (*UpdateHardwareRequest) SetUpdateMask

func (m *UpdateHardwareRequest) SetUpdateMask(fv *hardware.Hardware_FieldMask)

func (*UpdateHardwareRequest) String

func (m *UpdateHardwareRequest) String() string

func (*UpdateHardwareRequest) Unmarshal

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

func (*UpdateHardwareRequest) UnmarshalJSON

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

type UpdateHardwareRequest_CAS

type UpdateHardwareRequest_CAS struct {

	// Conditional desired state of a resource before update.
	ConditionalState *hardware.Hardware `` /* 138-byte string literal not displayed */
	// Field paths from conditional state of resource server should check and
	// compare.
	FieldMask *hardware.Hardware_FieldMask `` /* 140-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 (*UpdateHardwareRequest_CAS) Descriptor

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

Deprecated, Use UpdateHardwareRequest_CAS.ProtoReflect.Descriptor instead.

func (*UpdateHardwareRequest_CAS) GetConditionalState

func (m *UpdateHardwareRequest_CAS) GetConditionalState() *hardware.Hardware

func (*UpdateHardwareRequest_CAS) GetFieldMask

func (*UpdateHardwareRequest_CAS) GotenMessage

func (*UpdateHardwareRequest_CAS) GotenMessage()

func (*UpdateHardwareRequest_CAS) GotenValidate

func (obj *UpdateHardwareRequest_CAS) GotenValidate() error

func (*UpdateHardwareRequest_CAS) Marshal

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

func (*UpdateHardwareRequest_CAS) MarshalJSON

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

func (*UpdateHardwareRequest_CAS) ProtoMessage

func (*UpdateHardwareRequest_CAS) ProtoMessage()

func (*UpdateHardwareRequest_CAS) ProtoReflect

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

func (*UpdateHardwareRequest_CAS) Reset

func (m *UpdateHardwareRequest_CAS) Reset()

func (*UpdateHardwareRequest_CAS) SetConditionalState

func (m *UpdateHardwareRequest_CAS) SetConditionalState(fv *hardware.Hardware)

func (*UpdateHardwareRequest_CAS) SetFieldMask

func (*UpdateHardwareRequest_CAS) String

func (m *UpdateHardwareRequest_CAS) String() string

func (*UpdateHardwareRequest_CAS) Unmarshal

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

func (*UpdateHardwareRequest_CAS) UnmarshalJSON

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

type WatchHardwareClientStream

type WatchHardwareClientStream interface {
	Recv() (*WatchHardwareResponse, error)
	grpc.ClientStream
}

type WatchHardwareDescriptor

type WatchHardwareDescriptor struct{}

func GetWatchHardwareDescriptor

func GetWatchHardwareDescriptor() *WatchHardwareDescriptor

func (*WatchHardwareDescriptor) GetApiDescriptor

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

func (*WatchHardwareDescriptor) GetApiName

func (d *WatchHardwareDescriptor) GetApiName() string

func (*WatchHardwareDescriptor) GetClientMsgReflectHandle

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

func (*WatchHardwareDescriptor) GetFullMethodName

func (d *WatchHardwareDescriptor) GetFullMethodName() string

func (*WatchHardwareDescriptor) GetMethodName

func (d *WatchHardwareDescriptor) GetMethodName() string

func (*WatchHardwareDescriptor) GetProtoPkgName

func (d *WatchHardwareDescriptor) GetProtoPkgName() string

func (*WatchHardwareDescriptor) GetResourceDescriptor

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

func (*WatchHardwareDescriptor) GetServerMsgReflectHandle

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

func (*WatchHardwareDescriptor) GetServiceDomain

func (d *WatchHardwareDescriptor) GetServiceDomain() string

func (*WatchHardwareDescriptor) GetServiceVersion

func (d *WatchHardwareDescriptor) GetServiceVersion() string

func (*WatchHardwareDescriptor) GetVerb

func (d *WatchHardwareDescriptor) GetVerb() string

func (*WatchHardwareDescriptor) HasResource

func (d *WatchHardwareDescriptor) HasResource() bool

func (*WatchHardwareDescriptor) IsClientStream

func (d *WatchHardwareDescriptor) IsClientStream() bool

func (*WatchHardwareDescriptor) IsCollection

func (d *WatchHardwareDescriptor) IsCollection() bool

func (*WatchHardwareDescriptor) IsPlural

func (d *WatchHardwareDescriptor) IsPlural() bool

func (*WatchHardwareDescriptor) IsServerStream

func (d *WatchHardwareDescriptor) IsServerStream() bool

func (*WatchHardwareDescriptor) IsUnary

func (d *WatchHardwareDescriptor) IsUnary() bool

func (*WatchHardwareDescriptor) NewEmptyClientMsg

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

func (*WatchHardwareDescriptor) NewEmptyServerMsg

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

func (*WatchHardwareDescriptor) RequestHasResourceBody

func (d *WatchHardwareDescriptor) RequestHasResourceBody() bool

type WatchHardwareDescriptorClientMsgHandle

type WatchHardwareDescriptorClientMsgHandle struct{}

func (*WatchHardwareDescriptorClientMsgHandle) ExtractCollectionName

func (*WatchHardwareDescriptorClientMsgHandle) ExtractResourceBodies

func (*WatchHardwareDescriptorClientMsgHandle) ExtractResourceBody

func (*WatchHardwareDescriptorClientMsgHandle) ExtractResourceName

func (*WatchHardwareDescriptorClientMsgHandle) ExtractResourceNames

type WatchHardwareDescriptorServerMsgHandle

type WatchHardwareDescriptorServerMsgHandle struct{}

func (*WatchHardwareDescriptorServerMsgHandle) ExtractCollectionName

func (*WatchHardwareDescriptorServerMsgHandle) ExtractResourceBodies

func (*WatchHardwareDescriptorServerMsgHandle) ExtractResourceBody

func (*WatchHardwareDescriptorServerMsgHandle) ExtractResourceName

func (*WatchHardwareDescriptorServerMsgHandle) ExtractResourceNames

type WatchHardwareRequest

type WatchHardwareRequest struct {

	// Name of ntt.ztp.v1.Hardware
	Name *hardware.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 *hardware.Hardware_FieldMask `` /* 140-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 [WatchHardware][ntt.ztp.v1.WatchHardware]

func (*WatchHardwareRequest) Descriptor

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

Deprecated, Use WatchHardwareRequest.ProtoReflect.Descriptor instead.

func (*WatchHardwareRequest) GetFieldMask

func (*WatchHardwareRequest) GetName

func (m *WatchHardwareRequest) GetName() *hardware.Name

func (*WatchHardwareRequest) GetView

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

func (*WatchHardwareRequest) GotenMessage

func (*WatchHardwareRequest) GotenMessage()

func (*WatchHardwareRequest) GotenValidate

func (obj *WatchHardwareRequest) GotenValidate() error

func (*WatchHardwareRequest) Marshal

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

func (*WatchHardwareRequest) MarshalJSON

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

func (*WatchHardwareRequest) ProtoMessage

func (*WatchHardwareRequest) ProtoMessage()

func (*WatchHardwareRequest) ProtoReflect

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

func (*WatchHardwareRequest) Reset

func (m *WatchHardwareRequest) Reset()

func (*WatchHardwareRequest) SetFieldMask

func (m *WatchHardwareRequest) SetFieldMask(fv *hardware.Hardware_FieldMask)

func (*WatchHardwareRequest) SetName

func (m *WatchHardwareRequest) SetName(fv *hardware.Name)

func (*WatchHardwareRequest) SetView

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

func (*WatchHardwareRequest) String

func (m *WatchHardwareRequest) String() string

func (*WatchHardwareRequest) Unmarshal

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

func (*WatchHardwareRequest) UnmarshalJSON

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

type WatchHardwareResponse

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

WatchHardwareResponse

func (*WatchHardwareResponse) Descriptor

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

Deprecated, Use WatchHardwareResponse.ProtoReflect.Descriptor instead.

func (*WatchHardwareResponse) GetChange

func (*WatchHardwareResponse) GotenMessage

func (*WatchHardwareResponse) GotenMessage()

func (*WatchHardwareResponse) GotenValidate

func (obj *WatchHardwareResponse) GotenValidate() error

func (*WatchHardwareResponse) Marshal

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

func (*WatchHardwareResponse) MarshalJSON

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

func (*WatchHardwareResponse) ProtoMessage

func (*WatchHardwareResponse) ProtoMessage()

func (*WatchHardwareResponse) ProtoReflect

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

func (*WatchHardwareResponse) Reset

func (m *WatchHardwareResponse) Reset()

func (*WatchHardwareResponse) SetChange

func (m *WatchHardwareResponse) SetChange(fv *hardware.HardwareChange)

func (*WatchHardwareResponse) String

func (m *WatchHardwareResponse) String() string

func (*WatchHardwareResponse) Unmarshal

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

func (*WatchHardwareResponse) UnmarshalJSON

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

type WatchHardwaresClientStream

type WatchHardwaresClientStream interface {
	Recv() (*WatchHardwaresResponse, error)
	grpc.ClientStream
}

type WatchHardwaresDescriptor

type WatchHardwaresDescriptor struct{}

func GetWatchHardwaresDescriptor

func GetWatchHardwaresDescriptor() *WatchHardwaresDescriptor

func (*WatchHardwaresDescriptor) GetApiDescriptor

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

func (*WatchHardwaresDescriptor) GetApiName

func (d *WatchHardwaresDescriptor) GetApiName() string

func (*WatchHardwaresDescriptor) GetClientMsgReflectHandle

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

func (*WatchHardwaresDescriptor) GetFullMethodName

func (d *WatchHardwaresDescriptor) GetFullMethodName() string

func (*WatchHardwaresDescriptor) GetMethodName

func (d *WatchHardwaresDescriptor) GetMethodName() string

func (*WatchHardwaresDescriptor) GetProtoPkgName

func (d *WatchHardwaresDescriptor) GetProtoPkgName() string

func (*WatchHardwaresDescriptor) GetResourceDescriptor

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

func (*WatchHardwaresDescriptor) GetServerMsgReflectHandle

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

func (*WatchHardwaresDescriptor) GetServiceDomain

func (d *WatchHardwaresDescriptor) GetServiceDomain() string

func (*WatchHardwaresDescriptor) GetServiceVersion

func (d *WatchHardwaresDescriptor) GetServiceVersion() string

func (*WatchHardwaresDescriptor) GetVerb

func (d *WatchHardwaresDescriptor) GetVerb() string

func (*WatchHardwaresDescriptor) HasResource

func (d *WatchHardwaresDescriptor) HasResource() bool

func (*WatchHardwaresDescriptor) IsClientStream

func (d *WatchHardwaresDescriptor) IsClientStream() bool

func (*WatchHardwaresDescriptor) IsCollection

func (d *WatchHardwaresDescriptor) IsCollection() bool

func (*WatchHardwaresDescriptor) IsPlural

func (d *WatchHardwaresDescriptor) IsPlural() bool

func (*WatchHardwaresDescriptor) IsServerStream

func (d *WatchHardwaresDescriptor) IsServerStream() bool

func (*WatchHardwaresDescriptor) IsUnary

func (d *WatchHardwaresDescriptor) IsUnary() bool

func (*WatchHardwaresDescriptor) NewEmptyClientMsg

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

func (*WatchHardwaresDescriptor) NewEmptyServerMsg

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

func (*WatchHardwaresDescriptor) RequestHasResourceBody

func (d *WatchHardwaresDescriptor) RequestHasResourceBody() bool

type WatchHardwaresDescriptorClientMsgHandle

type WatchHardwaresDescriptorClientMsgHandle struct{}

func (*WatchHardwaresDescriptorClientMsgHandle) ExtractCollectionName

func (*WatchHardwaresDescriptorClientMsgHandle) ExtractResourceBodies

func (*WatchHardwaresDescriptorClientMsgHandle) ExtractResourceBody

func (*WatchHardwaresDescriptorClientMsgHandle) ExtractResourceName

func (*WatchHardwaresDescriptorClientMsgHandle) ExtractResourceNames

type WatchHardwaresDescriptorServerMsgHandle

type WatchHardwaresDescriptorServerMsgHandle struct{}

func (*WatchHardwaresDescriptorServerMsgHandle) ExtractCollectionName

func (*WatchHardwaresDescriptorServerMsgHandle) ExtractResourceBodies

func (*WatchHardwaresDescriptorServerMsgHandle) ExtractResourceBody

func (*WatchHardwaresDescriptorServerMsgHandle) ExtractResourceName

func (*WatchHardwaresDescriptorServerMsgHandle) ExtractResourceNames

type WatchHardwaresRequest

type WatchHardwaresRequest 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"`
	// Parent name of ntt.ztp.v1.Hardware
	Parent *hardware.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// Requested page size. Server may return fewer Hardwares 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 *hardware.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 *hardware.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 *hardware.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 Hardware that don't affect
	// any of masked fields won't be sent back.
	FieldMask *hardware.Hardware_FieldMask `` /* 140-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
	// Hardware 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 [WatchHardwares][ntt.ztp.v1.WatchHardwares]

func (*WatchHardwaresRequest) Descriptor

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

Deprecated, Use WatchHardwaresRequest.ProtoReflect.Descriptor instead.

func (*WatchHardwaresRequest) GetFieldMask

func (*WatchHardwaresRequest) GetFilter

func (m *WatchHardwaresRequest) GetFilter() *hardware.Filter

func (*WatchHardwaresRequest) GetMaxChunkSize

func (m *WatchHardwaresRequest) GetMaxChunkSize() int32

func (*WatchHardwaresRequest) GetOrderBy

func (m *WatchHardwaresRequest) GetOrderBy() *hardware.OrderBy

func (*WatchHardwaresRequest) GetPageSize

func (m *WatchHardwaresRequest) GetPageSize() int32

func (*WatchHardwaresRequest) GetPageToken

func (m *WatchHardwaresRequest) GetPageToken() *hardware.PagerCursor

func (*WatchHardwaresRequest) GetParent

func (m *WatchHardwaresRequest) GetParent() *hardware.ParentName

func (*WatchHardwaresRequest) GetResumeToken

func (m *WatchHardwaresRequest) GetResumeToken() string

func (*WatchHardwaresRequest) GetStartingTime

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

func (*WatchHardwaresRequest) GetType

func (*WatchHardwaresRequest) GetView

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

func (*WatchHardwaresRequest) GotenMessage

func (*WatchHardwaresRequest) GotenMessage()

func (*WatchHardwaresRequest) GotenValidate

func (obj *WatchHardwaresRequest) GotenValidate() error

func (*WatchHardwaresRequest) Marshal

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

func (*WatchHardwaresRequest) MarshalJSON

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

func (*WatchHardwaresRequest) ProtoMessage

func (*WatchHardwaresRequest) ProtoMessage()

func (*WatchHardwaresRequest) ProtoReflect

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

func (*WatchHardwaresRequest) Reset

func (m *WatchHardwaresRequest) Reset()

func (*WatchHardwaresRequest) SetFieldMask

func (m *WatchHardwaresRequest) SetFieldMask(fv *hardware.Hardware_FieldMask)

func (*WatchHardwaresRequest) SetFilter

func (m *WatchHardwaresRequest) SetFilter(fv *hardware.Filter)

func (*WatchHardwaresRequest) SetMaxChunkSize

func (m *WatchHardwaresRequest) SetMaxChunkSize(fv int32)

func (*WatchHardwaresRequest) SetOrderBy

func (m *WatchHardwaresRequest) SetOrderBy(fv *hardware.OrderBy)

func (*WatchHardwaresRequest) SetPageSize

func (m *WatchHardwaresRequest) SetPageSize(fv int32)

func (*WatchHardwaresRequest) SetPageToken

func (m *WatchHardwaresRequest) SetPageToken(fv *hardware.PagerCursor)

func (*WatchHardwaresRequest) SetParent

func (m *WatchHardwaresRequest) SetParent(fv *hardware.ParentName)

func (*WatchHardwaresRequest) SetResumeToken

func (m *WatchHardwaresRequest) SetResumeToken(fv string)

func (*WatchHardwaresRequest) SetStartingTime

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

func (*WatchHardwaresRequest) SetType

func (*WatchHardwaresRequest) SetView

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

func (*WatchHardwaresRequest) String

func (m *WatchHardwaresRequest) String() string

func (*WatchHardwaresRequest) Unmarshal

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

func (*WatchHardwaresRequest) UnmarshalJSON

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

type WatchHardwaresResponse

type WatchHardwaresResponse struct {

	// Changes of Hardwares
	HardwareChanges []*hardware.HardwareChange `` /* 134-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 Hardwares 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 *WatchHardwaresResponse_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 (Hardwares 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
}

WatchHardwaresResponse

func (*WatchHardwaresResponse) Descriptor

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

Deprecated, Use WatchHardwaresResponse.ProtoReflect.Descriptor instead.

func (*WatchHardwaresResponse) GetHardwareChanges

func (m *WatchHardwaresResponse) GetHardwareChanges() []*hardware.HardwareChange

func (*WatchHardwaresResponse) GetIsCurrent

func (m *WatchHardwaresResponse) GetIsCurrent() bool

func (*WatchHardwaresResponse) GetIsHardReset

func (m *WatchHardwaresResponse) GetIsHardReset() bool

func (*WatchHardwaresResponse) GetIsSoftReset

func (m *WatchHardwaresResponse) GetIsSoftReset() bool

func (*WatchHardwaresResponse) GetPageTokenChange

func (*WatchHardwaresResponse) GetResumeToken

func (m *WatchHardwaresResponse) GetResumeToken() string

func (*WatchHardwaresResponse) GetSnapshotSize

func (m *WatchHardwaresResponse) GetSnapshotSize() int64

func (*WatchHardwaresResponse) GotenMessage

func (*WatchHardwaresResponse) GotenMessage()

func (*WatchHardwaresResponse) GotenValidate

func (obj *WatchHardwaresResponse) GotenValidate() error

func (*WatchHardwaresResponse) Marshal

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

func (*WatchHardwaresResponse) MarshalJSON

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

func (*WatchHardwaresResponse) ProtoMessage

func (*WatchHardwaresResponse) ProtoMessage()

func (*WatchHardwaresResponse) ProtoReflect

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

func (*WatchHardwaresResponse) Reset

func (m *WatchHardwaresResponse) Reset()

func (*WatchHardwaresResponse) SetHardwareChanges

func (m *WatchHardwaresResponse) SetHardwareChanges(fv []*hardware.HardwareChange)

func (*WatchHardwaresResponse) SetIsCurrent

func (m *WatchHardwaresResponse) SetIsCurrent(fv bool)

func (*WatchHardwaresResponse) SetIsHardReset

func (m *WatchHardwaresResponse) SetIsHardReset(fv bool)

func (*WatchHardwaresResponse) SetIsSoftReset

func (m *WatchHardwaresResponse) SetIsSoftReset(fv bool)

func (*WatchHardwaresResponse) SetPageTokenChange

func (*WatchHardwaresResponse) SetResumeToken

func (m *WatchHardwaresResponse) SetResumeToken(fv string)

func (*WatchHardwaresResponse) SetSnapshotSize

func (m *WatchHardwaresResponse) SetSnapshotSize(fv int64)

func (*WatchHardwaresResponse) String

func (m *WatchHardwaresResponse) String() string

func (*WatchHardwaresResponse) Unmarshal

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

func (*WatchHardwaresResponse) UnmarshalJSON

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

type WatchHardwaresResponse_PageTokenChange

type WatchHardwaresResponse_PageTokenChange struct {

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

func (*WatchHardwaresResponse_PageTokenChange) Descriptor

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

Deprecated, Use WatchHardwaresResponse_PageTokenChange.ProtoReflect.Descriptor instead.

func (*WatchHardwaresResponse_PageTokenChange) GetNextPageToken

func (*WatchHardwaresResponse_PageTokenChange) GetPrevPageToken

func (*WatchHardwaresResponse_PageTokenChange) GotenMessage

func (*WatchHardwaresResponse_PageTokenChange) GotenValidate

func (obj *WatchHardwaresResponse_PageTokenChange) GotenValidate() error

func (*WatchHardwaresResponse_PageTokenChange) Marshal

func (*WatchHardwaresResponse_PageTokenChange) MarshalJSON

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

func (*WatchHardwaresResponse_PageTokenChange) ProtoMessage

func (*WatchHardwaresResponse_PageTokenChange) ProtoReflect

func (*WatchHardwaresResponse_PageTokenChange) Reset

func (*WatchHardwaresResponse_PageTokenChange) SetNextPageToken

func (*WatchHardwaresResponse_PageTokenChange) SetPrevPageToken

func (*WatchHardwaresResponse_PageTokenChange) String

func (*WatchHardwaresResponse_PageTokenChange) Unmarshal

func (*WatchHardwaresResponse_PageTokenChange) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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